Hi,
I have a Raspberry with Pcp, Jivelite, TFT touch screen and Allo DAC and IR remote. The LMS run on my Synology NAS. All is working fine ..... well almost.
I like to switch my amplifiers when I switch on/off the above setup. I use the "Power On/Off script -S"option of squeezelite to run "powerscript.sh"
So my Squeezelite setting look like "/usr/local/bin/squeezelite -n "Woonkamer" -o hw:CARD=BossDAC -a 80:4::1: -v -C 15 -S /home/tc/powerscript.sh"
So far so good, the script runs and via an JSON call to Domoticz (I installed cURL) I can switch some powerplugs which in turn switches my amps.
The problem is that this power script is also running when I change from one song to an other (it switches off and immediately on again) it also does this when I pauze a song.
It doesn't show this behaviour when it just plays the next song on the same "CD".
Can anyone explain this behaviour? Is their a setting I can change so it only triggers the script whem I use the "power" button? (either fron my IR remote or from the touch display)
Regards Erik
I have a Raspberry with Pcp, Jivelite, TFT touch screen and Allo DAC and IR remote. The LMS run on my Synology NAS. All is working fine ..... well almost.
I like to switch my amplifiers when I switch on/off the above setup. I use the "Power On/Off script -S"option of squeezelite to run "powerscript.sh"
So my Squeezelite setting look like "/usr/local/bin/squeezelite -n "Woonkamer" -o hw:CARD=BossDAC -a 80:4::1: -v -C 15 -S /home/tc/powerscript.sh"
So far so good, the script runs and via an JSON call to Domoticz (I installed cURL) I can switch some powerplugs which in turn switches my amps.
The problem is that this power script is also running when I change from one song to an other (it switches off and immediately on again) it also does this when I pauze a song.
It doesn't show this behaviour when it just plays the next song on the same "CD".
Can anyone explain this behaviour? Is their a setting I can change so it only triggers the script whem I use the "power" button? (either fron my IR remote or from the touch display)
Regards Erik