cpd73 wrote: > if LMS does not return your rating when 'tags:R' is used there is no use > in this setting within Material unless TrackStat is installed. That was > my main point. And you still have not answered this - perhaps because > you don't know? Maybe another misunderstanding: I think queries with 'tags:R' *only* return the rating value stored in the _LMS_ *tracks_persistent* database, *not* the rating value from TrackStat's own database called *track_statistics*, although they can be identical.
So it seems Material gets the rating from the LMS *tracks_persistent* database while I thought you'd get it directly from TrackStat using -'trackstat', 'getrating', 'track_id'-. Now I understand why my plugin never logged any requests from Material. Even though I don't use TrackStat anymore my plugin supports the 'trackstat', 'getrating', 'track_id' request and returns the keys/values 'rating' (0-5) and 'ratingpercentage' (0-100) (just like TrackStat). So in short, *if Material requested the rating for a track _directly_ from TrackStat* using -'trackstat', 'getrating', 'track_id'- * it would get the correct answer from my plugin* (as if TrackStat had answered it). But 'tags:R' only requests the rating value from the LMS -tracks_persistent- database. In my case it will not return anything. This database doesn't contain any rating values because I don't use TrackStat (don't rate songs in LMS) nor plugins like CustomScan. ------------------------------------------------------------------------ afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins