disc isn't resetting

This commit is contained in:
Karl Hudgell 2024-09-21 08:13:17 +01:00
parent 947477892a
commit 3c3cc36cd0

View File

@ -41,7 +41,6 @@ def button_callback_3(channel):
if time.time() - start_time >= 3: # Check if 3 seconds have passed
print("Button 3 held for 3 seconds! Sending RADIO2.")
update_disc(client, ["ytmusic",disc_data['name'],disc_data['type'],"RESET"])
time.sleep(1)
update_disc(client, ["ytmusic",disc_data['name'],disc_data['type'],disc_data['id']])
return # Exit after sending RADIO2