From 3c3cc36cd0012169435a1fd1e587ff0cceb2aee8 Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Sat, 21 Sep 2024 08:13:17 +0100 Subject: [PATCH] disc isn't resetting --- buttons.py | 1 - 1 file changed, 1 deletion(-) diff --git a/buttons.py b/buttons.py index 62c19aa..273b435 100644 --- a/buttons.py +++ b/buttons.py @@ -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