From 93ee1a8effff8918b692c4155a45cd83c53d62c7 Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Sat, 21 Sep 2024 08:07:44 +0100 Subject: [PATCH] reset radio --- buttons.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buttons.py b/buttons.py index 761707a..7b93469 100644 --- a/buttons.py +++ b/buttons.py @@ -41,6 +41,7 @@ def button_callback_3(channel): print("Button 3 held for 3 seconds! Sending RADIO2.") disc_data = check_current_disc(client) 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