mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
lala
This commit is contained in:
@@ -679,7 +679,7 @@ def on_message(client, userdata, msg):
|
||||
myCmd =f'amixer set Master mute'
|
||||
else:
|
||||
myCmd =f'amixer set Master unmute'
|
||||
status, output = subprocess.getstatusoutput(myCmd)
|
||||
subprocess.run(["amixer", "sset", "Master", "mute"], check=True)
|
||||
writeLog(myCmd)
|
||||
output = subprocess.Popen(myCmd, shell=True)
|
||||
writeLog(output)
|
||||
|
||||
Reference in New Issue
Block a user