This commit is contained in:
2025-10-25 21:56:18 +02:00
parent 82ffb5064a
commit 350597ed35

View File

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