Posts: 13,337
Threads: 302
Joined: Mar 2018
Reputation:
535
Hi,
AFAIK the "off switch" in those apps does not send any type of signal to Squeezelite. I just ran quick test with LMS and clicking "Power off" button definitely does not cause Squeezelite to terminate. Possibly this button was meant to turn of an actual Squeezebox device ??
-Tim
Posts: 13,337
Threads: 302
Joined: Mar 2018
Reputation:
535
Hi,
Thats very interesting and I can confirm that it in fact releases the audio output when Power off and then hogs the audio output when Power on.
I'll have to see whether it might be possible to use audio output closed/active state to coordinate between MPD/moOde UI and Squeezelite.
-Tim
Posts: 13,337
Threads: 302
Joined: Mar 2018
Reputation:
535
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
Posts: 5
Threads: 1
Joined: Apr 2018
Reputation:
0
I just installed 4.1 on Rpi 2. I took 3 hours. When using usb wifi rt8188eu, AP moode not working. (Patched hostapd for realtek). Moode 4.0 AP working fine. Change kernel to ver 4.9 AP mode working again.
Posts: 13,337
Threads: 302
Joined: Mar 2018
Reputation:
535
Nice!
Maybe at some point the Raspbian Team will incorporate MrEngMan's driver install system.
-Tim