afriend wrote: > 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.
Ratings are sent by LMS in the status response - but only if 'R' is included in the 'tags:' parameter. Material will only add 'R' in the status request if ratings are being shown. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
