AF1 wrote: 
> Yes. RL will only add rating changes to the PL / log if RL changes the
> rating and not some other plugin. How else would it know about the
> rating changes? 
An end-user is not aware of internal architecture and how plugins talk
to the database and/or each other. Clearly Ratings Light reads TS
ratings (and others) for which I'm a grateful user... but it is
absolutely not an obvious conclusion for an end-user that plugins do not
interact/modify the same data and notice changes, etc. A skin reveals
the rating. The end-user does not know what will/won't happen by
adjusting the visible rating.

AF1 wrote: 
> BTW what's your Perl version?
> 
> I can't really place the first error message, it lacks context. If you
> find a related error/warning message above or below mentioning
> -RatingsLight- please also include that line and all lines inbetween.

Perl Version: 5.26.1 - x86_64-linux-gnu-thread-multi

There is no error mentioning RL. 

At the point where the RL rating is changed and no RL playlist exists
already, the listed warning message and following lines are generated:


Code:
--------------------
    [22-01-20 22:18:53.3681] Slim::Utils::Misc::msg (1341) Warning: 
[22:18:53.3667] 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
  [22-01-20 22:18:54.1765] Plugins::RatingsLight::Plugin::refreshTitleFormats 
(2798) refreshing title formats
  [22-01-20 22:18:54.3608] Plugins::RatingsLight::Plugin::objectInfoHandler 
(1034) objectType = trackArtist ## url = $VAR1 = 
'file:///[...]/Music/Depeche%20Mode/Playing%20the%20Angel/09%20-%20Depeche%20Mode%20-%20Introspectre.mp3';
  [22-01-20 22:18:54.3654] Plugins::RatingsLight::Plugin::getRatedTracks (929) 
objectType = artist ## countOnly = 1 ## trackID = 230200 ## thisID = 63844
  [22-01-20 22:18:54.3781] Plugins::RatingsLight::Plugin::getRatedTracks (1023) 
Pre-check found 59 rated tracks for artist with ID: 63844
  [22-01-20 22:18:54.3786] Plugins::RatingsLight::Plugin::objectInfoHandler 
(1034) objectType = trackAlbum ## url = $VAR1 = 
'file:///[...]/Music/Depeche%20Mode/Playing%20the%20Angel/09%20-%20Depeche%20Mode%20-%20Introspectre.mp3';
  [22-01-20 22:18:54.3808] Plugins::RatingsLight::Plugin::getRatedTracks (929) 
objectType = album ## countOnly = 1 ## trackID = 230200 ## thisID = 18460
  [22-01-20 22:18:54.3817] Plugins::RatingsLight::Plugin::getRatedTracks (1023) 
Pre-check found 11 rated tracks for album with ID: 18460
--------------------


------------------------------------------------------------------------
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to