cpd73 wrote: 
> I did implement showing ratings without TrackStat, but not convinced.
> Looks odd to have empty stars and no way of setting.
> 
> [Edit] Currently implemented in the 2.1 branch, but I'm still not 100%
> sure...

Thank you. So I've checked out the 2.1 branch version. Unfortunately,
out of the box no ratings are displayed (except the empty stars). It
doesn't pick up any of the values my plugin provides.

I understand perfectly that this is a niche case and therefore I need to
fork your repo and implement this myself. But your Material skin is a
complex and beautiful beast. :) Could you maybe do me a favor and tell
me 
-where exactly in the code Material gets/receives the rating for the
currently playing song-? I did go through your code (esp. the js files)
and found the setrating lmscommand but it almost seemed as if rating was
part of the playerstatus reply which I learned in jivelite normally
doesn't include a rating value. Or so I thought.

I could try to modify the existing rating query to pick up a rating
value from my plugin - or
if that doesn't work I could try to add a server request for the comment
tag and translate keywords into ratings. (That's what I did with
jivelite's NowPlaying screen.)

Any advice is greatly appreciated. Thank you.

P.S.
And yes, you are absolutely correct. Empty stars are irritating. That's
why I left the space empty if the track is unrated and only displayed
stars if there is a rating.


------------------------------------------------------------------------
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

Reply via email to