From 350597ed352004fe008daa10e7885d61fc26b916 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 Oct 2025 21:56:18 +0200 Subject: [PATCH] build --- mqtt_srv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mqtt_srv.py b/mqtt_srv.py index dd89a7d..c3e6737 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -670,12 +670,14 @@ def on_message(client, userdata, msg): subprocess.Popen(myCmd.split()) if myObj["cmd"] == "assist": writeLog("Starting Assist") - if curos == "Windows": + if curos == "Windows": + writeLog("Windows Vol Control") if myObj['target'] == "start": myCmd =f'powershell "& ""c:\\Program Files\\jaydee\\vol_control.ps1""" 0.2' else: myCmd =f'powershell "& ""c:\\Program Files\\jaydee\\vol_control.ps1""" 1' else: + writeLog("Linux Vol Control") if myObj['target'] == "start": myCmd =f'amixer set Master mute' else: