This commit is contained in:
2025-10-25 21:58:39 +02:00
parent b8c591968e
commit fdd652a575

View File

@@ -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)