diff --git a/albums.txt b/albums.txt index c07e37d..17599ed 100644 --- a/albums.txt +++ b/albums.txt @@ -5,4 +5,4 @@ ytmusic:My Likes:playlist:LM ytmusic:Ian Brown Music Of The Spheres:album:MPREb_qGv8CDJUptJ ytmusic:George Michael Twenty Five:playlist:PLQs-26BNq1fQsL4yIMeTBhL3Q16EEDnyU ytmusic:Dr Dre 2001:album:MPREb_6EiilRp9nkg -ytmusic:Snoop Dogg Doggystyle:album:MPREb_0d9vS8CDlkf \ No newline at end of file +ytmusic:Snoop Dogg Doggystyle:album:MPREb_ajgAfvebdsT \ No newline at end of file diff --git a/main.py b/main.py index 83b9060..d759ad4 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ import os import sys -import json +import time from dotenv import load_dotenv from lib.mqtt import create_client, update_disc, control_player, create_config, check_current_disc @@ -40,6 +40,7 @@ if len(sys.argv) > 1: else: # Pass the parsed data to the update_disc function control_player(client, "PLAY") + time.sleep(1) update_disc(client, disc_data) else: if input_str == "EJECT":