Are you talking about the Squeezebox Radio or some other radio device ? If you are talking about the Squeezebox Radio it seems like this should be implemented as either a perl plugin in Squeezebox Server or a lua applet in Squeezebox Radio.
In the perl case you can use "Slim::Player::Playlist::song($client);" to get currently playing track. In the lua applet case I'd suggest that you have a look at the NowPlayingApplet in the Squeezeplay source code: http://svn.slimdevices.com/repos/jive/7.4/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua Or is the issue that you want to avoid perl and lua coding and do this in some other language ? If you are going to do it some other way maybe you can use the web interface, TrackStat provides links like this which sets the rating on the currently playing track: Code: -------------------- http://localhost:9000/plugins/TrackStat/index.htm?player=00%3A01%3A02%3A03%3A04%3A05&trackstatcmd=rating&trackstatrating=5 -------------------- It's not the best way to do it but it should be very simple as you don't have to retrieve the currently playing track. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) (Install my plugins through Extension Downloader) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=73538 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins