From 441851ff2ffb6fd521e49c45ebed9e67d8bfe574 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 Oct 2025 21:37:06 +0200 Subject: [PATCH] lala --- mqtt_srv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mqtt_srv.py b/mqtt_srv.py index 0e6994f..5731d63 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -676,9 +676,9 @@ def on_message(client, userdata, msg): myCmd =f'powershell "& ""c:\\Program Files\\jaydee\\vol_control.ps1""" 1' else: if myObj['target'] == "start": - myCmd =f'amixer set Master 100%' + myCmd =f'amixer set Master mute' else: - myCmd =f'amixer set Master 20%' + myCmd =f'amixer set Master unmute' status, output = subprocess.getstatusoutput(myCmd) writeLog(myCmd) output = subprocess.Popen(myCmd, shell=True)