working check_current_disc without json
This commit is contained in:
parent
586c89579c
commit
a24326ea56
2
main.py
2
main.py
@ -34,7 +34,7 @@ if len(sys.argv) > 1:
|
|||||||
"id":disc_data[3]
|
"id":disc_data[3]
|
||||||
}
|
}
|
||||||
# Check if disc is the same as last inserted
|
# Check if disc is the same as last inserted
|
||||||
if (disc_object == json.loads(check_current_disc(client))):
|
if (disc_object == check_current_disc(client)):
|
||||||
# If disc is the same, PLAY
|
# If disc is the same, PLAY
|
||||||
control_player(client, "PLAY")
|
control_player(client, "PLAY")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user