mherger;353087 Wrote: > > I have looked at the CLI documentation. While very well documented > for > > doing CLI commands, I'm not too sure how to translate that into the > > script. Best I've been able to come up with is (not sure of the > > syntax): > > What do you want to do? > > Michael
Trying to monitor the play/pause/power state so that I can add additional status to my remote display. Currently, the script will display album art and song info on a remote LCD attached to a small PC pointing to "http://myserver:9000/html/SqueezeJS/nowplaying.html" It updates as the music changes. However, when the music is stopped/paused or the player turned off, I want to have my script detect this and display "Now Stopped/Paused" or "Powered OFF". I've attached the script for your reference. Does that make sense? I know you mentioned it can be done with the playerStatus.mode but I'm just not sure how to code for that. +-------------------------------------------------------------------+ |Filename: nowplaying.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=6104| +-------------------------------------------------------------------+ -- starfleetcommand ------------------------------------------------------------------------ starfleetcommand's Profile: http://forums.slimdevices.com/member.php?userid=20604 View this thread: http://forums.slimdevices.com/showthread.php?t=53975 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
