mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
build
This commit is contained in:
@@ -685,7 +685,8 @@ def on_message(client, userdata, msg):
|
||||
try:
|
||||
output = subprocess.run(["amixer", "sset", "Master", "mute"], check=True)
|
||||
writeLog(output)
|
||||
except:
|
||||
except subprocess.CalledProcessError as e:
|
||||
writeLog(e)
|
||||
writeLog("Failed to mute/unmute")
|
||||
writeLog(myCmd)
|
||||
output = subprocess.Popen(myCmd, shell=True)
|
||||
|
||||
Reference in New Issue
Block a user