streampunk wrote: > Hi, > I was just trying to get a shutdown button to work, using the options > from the PCP web interface. > I placed a shutdown script (shutdown.sh) into /mnt/mmcblk0p2/tce/. It > contains "sudo poweroff" and is 755 and backed up. > As soon as I put a GPIO number (e.g. 3) into the "Power On/Off GPIO" > field, select low or high and put /mnt/mmcblk0p2/tce/shutdown.sh into > the "Power On/Off Script", click SAVE and confirm the restart of > Squeezelite, squeezelite won't start any longer. The Squeezelite log > seems to be empty, so I have no clue what is going wrong. Version is > 3.22, wiringpi extension is installed. > Any hints? > Best regards > Martin
The power On/Off GPIO is an output not input and is used to turn on or off a power amp etc when squeezelite begins playing. If you put a gpio number in that is used by the output (a DAC etc) squeezelite will not start. 24448 +-------------------------------------------------------------------+ |Filename: 2018-01-29 12_49_31-pCP - Squeezelite Settings.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=24448| +-------------------------------------------------------------------+ *Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLiteX,PiCorePlayer x3,Wandboard *Server:* LMS Version: Latest Nightly on Centos 7 VM on ESXi 6.5.0U1 on Dell T320 *Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups *Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLiteX *Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs *Want a webapp ?* See http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS ------------------------------------------------------------------------ Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=107352 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
