Re: [SlimDevices: Plugins] CLI-commands

2010-01-06 Thread mrMuppet
Did the first test: its working wonderful! YESS!! My macro for Button 1 (on the SB Radio): display {CURRENT_TRACK_ARTIST}: {CURRENT_TRACK_TITLE} is rated 1/5; trackstat setrating {CURRENT_TRACK_ID} 20% And it really works. Thats exactly what i wanted! Thank you so much Peter!! Two days after

Re: [SlimDevices: Plugins] CLI-commands

2010-01-06 Thread mrMuppet
tried to use last.fm with kidsplay: {PLAYER_ID} lfm rate L didn't work... Does anyone know CLI-commands to use with flickr? -- mrMuppet mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722 View this

Re: [SlimDevices: Plugins] CLI-commands

2010-01-06 Thread erland
mrMuppet;503538 Wrote: '2. Is it possible to activate the Title-Format-changes (titels with trackstat rating) in the main playing- and in the playlist-screen? I can see those ratings only in the song list. (on the SB radio) Unfortunately, I don't think the new Squeezeplay based devices

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread pippin
Why do you only need the track_id? I mean: whatever you do, you will always have to extract the data from the response. Then you can use the trackstat rating command to rate the song, what is the issue there? You can add the tags you need to the query, read up on the status query here:

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread erland
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

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread mrMuppet
Thank you for your hints. I'm not a coder but i wanted to change the preset buttons 1-5 of my Squeezebox Radio to do a rating (1-5) for the currently played song. For this i tried the Kidplay-Plugin to reconfig the buttons. But when i want to use Trackstat it needs a Track_id! Perhaps you can

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread erland
mrMuppet;502862 Wrote: Perhaps you can tell me whats easier to handle in this case: perl or lua -i would have to learn both of them. It depends, I would personally recommend perl because there are more people here that can help you with perl issues compared to lua issues. Start with an

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread peterw
Do other CLI commands use the track ID? I've been considering a change to the KidsPlay command parser to accommodate variable substitution, e.g. set the macro as Code: trackstat setrating {CURRENT_TRACK_ID} 3 so KidsPlay would then look up the

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread mrMuppet
peterw;503121 Wrote: Do other CLI commands use the track ID? I've been considering a change to the KidsPlay command parser to accommodate variable substitution, e.g. set the macro as Code: trackstat setrating {CURRENT_TRACK_ID} 3 so

Re: [SlimDevices: Plugins] CLI-commands

2010-01-05 Thread peterw
mrMuppet;503140 Wrote: That would be really, really great! ... [Donation for Peter is on its way :-)] A compliment *and* a donation? Hey, you get a new release. :-) Please try version 2.4.2 or newer from my test repository, http://www.tux.org/~peterw/slim/slim7/repodata-test.xml (you'll