Hi, Installed and used piCorePlayer without problems, and I think it's absolutely amazing.
Now I want to turn on/off my amplifier based on the squeezelite status. With the -G option I can toggle a GPIO pin and that works fine. However, my amplifier can be controlled by some custom serial protocol. I reverse-engineered it sufficiently that I can control it by bit-banging from a python script. Installed Python and RPi.GPIO in piCorePlayer and that all works fine. Made a shell script that fires up the python script and that also works. But now I'm stuck. Whenever I try to use the -S option to launch the script at power toggle, squeezelite doesn't start. It doesn't matter if I fill it in in the "Power On/Off Script" box (I enter the absolute path /home/tc/amp.sh) or if I add the -S option: -S /home/tc/amp.sh in the "various input" box. Since squeezelite doesn't start it also doesn't create a pcp_squeezelite.log file (it normally does when I enable debugging). I skimmed the other log files, but I have no idea where to look for this error. If anyone has a hint on what might go wrong or where I can find logs that point me in the right direction, any help is appreciated! ------------------------------------------------------------------------ Lemontree's Profile: http://forums.slimdevices.com/member.php?userid=65818 View this thread: http://forums.slimdevices.com/showthread.php?t=105018 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
