From 32388ca56bbd610d6956ffdfcd8ebf33ac9d2976 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Sat, 24 May 2025 10:55:44 -0500 Subject: [PATCH] change music manager display to not double authenticate spotify --- src/music_manager.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/music_manager.py b/src/music_manager.py index b06f3180..9639e820 100644 --- a/src/music_manager.py +++ b/src/music_manager.py @@ -98,14 +98,9 @@ class MusicManager: try: self.spotify = SpotifyClient() if not self.spotify.is_authenticated(): - logging.warning("Spotify client initialized but not authenticated.") - # We still might need manual intervention by the user based on console output - auth_url = self.spotify.get_auth_url() - if auth_url: - print(f"---> Spotify requires authorization. Please visit: {auth_url}") - print("---> After authorizing, restart the application.") - else: - print("---> Could not get Spotify auth URL. Check config/config_secrets.json") + logging.warning("Spotify client initialized but not authenticated. Please run src/authenticate_spotify.py if you want to use Spotify.") + # The SpotifyClient will log more details if cache loading failed. + # No need to attempt auth URL generation here. else: logging.info("Spotify client authenticated.")