Ok, your description was how I expected it would work. But it doesn't
work as described for me. With Debug logging enabled for Ratings Light,
there are no special plugin events shown when any rating is
added/changed for a track (just reading of track/album/artist data).
With a lot of testing, what has become clear is that:
- Changing a rating in *Material skin player interface* does not
trigger any log/plyalist action by Ratings Light.
- Changing the *Trackstat rating* in the *track info interface* does
not trigger any log/playlist action by Ratings Light.
- Changing the actual Ratings Light rating in the track info interface
is the only way to trigger a RL_Rating-Log.txt entry being added.
- That is also the only way to get a track added to the playlist
Recently Rated Tracks (Ratings Light), and *it only adds the first
changed track* (ie, creates the playlist with one track), then no
further changed tracks are added.
At the time of the first (successful) creation of the playlist and an
entry in it, the server shows this warning (perhaps unrelated to Ratings
Light)
Code:
--------------------
[22-01-19 12:36:04.6088] Slim::Utils::Misc::msg (1341) Warning:
[12:36:04.6084] DBIx::Class::ResultSet::update_or_create(): Query returned more
than one row. SQL that returns multiple rows is DEPRECATED for ->find and
->single at /usr/share/perl5/Slim/Schema.pm line 1905
--------------------
At the time any further addition to the playlist is attempted (with no
result), an error in the server logs is shown:
Code:
--------------------
[22-01-19 12:37:27.3563] Slim::Utils::Misc::msg (1341) Warning:
[12:37:27.3559] Use of uninitialized value $playlistid in concatenation (.) or
string at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm
line 2137.
--------------------
Running on Ubuntu server 18.04.6, LMS 8.2.0, Ratings Light 2.0.10,
Material Skin 2.8.4
------------------------------------------------------------------------
dunq's Profile: http://forums.slimdevices.com/member.php?userid=29876
View this thread: http://forums.slimdevices.com/showthread.php?t=113344
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins