disc isn't resetting
This commit is contained in:
parent
947477892a
commit
3c3cc36cd0
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user