Moode Forum
Behaviour of push button Mute on GPIO22 - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Behaviour of push button Mute on GPIO22 (/showthread.php?tid=188)

Pages: 1 2


RE: Behaviour of push button Mute on GPIO22 - DRONE7 - 04-16-2020

try
Code:
/var/www/vol.sh','-mute



RE: Behaviour of push button Mute on GPIO22 - gbh_uk - 04-16-2020

Have you considered 'pause' - which is a toggle command as Remy mentioned?


RE: Behaviour of push button Mute on GPIO22 - andib - 04-16-2020

Thank you for your response !

I took drone7 's way and replaced the last line of the python script with:

Code:
os.system("/var/www/vol.sh -mute")

This works very good!
Thank you all!