04-25-2018, 12:45 PM
Hi,
Just an update that checking on the state of ALSA output won't really work because its not unique to Squeezelite, MPD, Bluetooth or Airplay could have the output open.
Apparently there is a -S <script> option for Squeezelite that runs the specified <script> when LMS Power button is toggled. It requires Squeezelite to be complied with the -DGPIO cflag. This could possibly work. I'll add to the TODO list.
-Tim
Just an update that checking on the state of ALSA output won't really work because its not unique to Squeezelite, MPD, Bluetooth or Airplay could have the output open.
Apparently there is a -S <script> option for Squeezelite that runs the specified <script> when LMS Power button is toggled. It requires Squeezelite to be complied with the -DGPIO cflag. This could possibly work. I'll add to the TODO list.
-Tim