working check_current_disc without json

This commit is contained in:
Karl Hudgell 2024-09-20 14:15:53 +01:00
parent 586c89579c
commit a24326ea56

View File

@ -34,7 +34,7 @@ if len(sys.argv) > 1:
"id":disc_data[3]
}
# 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
control_player(client, "PLAY")
else: