mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 18:44:53 +01:00
build
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user