Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Behaviour of push button Mute on GPIO22
#11
try
Code:
/var/www/vol.sh','-mute
----------
bob
Reply
#12
Have you considered 'pause' - which is a toggle command as Remy mentioned?
Pi-4B[1GB] with Allo DigiOne SPDIF

'This is the time. And this is the record of the time.'
Reply
#13
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!
Reply


Forum Jump: