bit of logging
This commit is contained in:
parent
f4829ade74
commit
375a8261ae
4
main.py
4
main.py
@ -37,7 +37,9 @@ if len(sys.argv) > 1:
|
||||
update_disc(client, {"type": "album", "id": "EJECT"})
|
||||
elif json_str == "PLAY":
|
||||
control_player(client, "PLAY")
|
||||
else:
|
||||
print(f"Can't process {json_str}")
|
||||
except Exception:
|
||||
print(f"Invalid JSON format: {e}")
|
||||
else:
|
||||
print("No JSON argument passed, running default control_player action.")
|
||||
print("No Command or Track Info Passed")
|
Loading…
x
Reference in New Issue
Block a user