Bemused wrote: > Post 3917 has such a script, it originated from Greg, I mashed it a > little to pulse the GPIO output pin whilst playing as I already had a > hardware auto power on / off thingy that detected a ballanced audio > line. > Tony
Thank you Tony (and Greg, and bemused!) - that will work wonderfully, I think. Using the information here, I will aim to get my Crestron unit to connect to port 9090 on my Squeezebox server, and send the following command every n seconds (maybe 0.2 - 0.5 seconds): ma:ca:dd:re:ss status 0 0 Then I will check for the string "mode%3Aplay" in the response - if found, it is playing. I could probably even parse more of the response and have feedback on what track is playing, which might be handy, and/or send my own commands. Using this as a good starting point, I have also found the following, which I might be able to use if it is up to date enough (Google Code has been retired since then, unfortunately): https://code.google.com/p/crestron-squeeze/ ------------------------------------------------------------------------ jmhunter's Profile: http://forums.slimdevices.com/member.php?userid=65118 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
