Karl Hudgell há 6 meses atrás
pai
commit
555cd748be
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      buttons.py

+ 2 - 2
buttons.py

@@ -40,8 +40,8 @@ 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.")
             disc_data = check_current_disc(client)
-            update_disc(client, ["ytube",disc_data['name'],disc_data['type'],"RESET"])
-            update_disc(client, ["ytube",disc_data['name'],disc_data['type'],disc_data['id']])
+            update_disc(client, ["ytmusic",disc_data['name'],disc_data['type'],"RESET"])
+            update_disc(client, ["ytmusic",disc_data['name'],disc_data['type'],disc_data['id']])
             return  # Exit after sending RADIO2
     
     # If button was not held for 3 seconds, send RADIO