From: Marcel van der Veldt Date: Tue, 16 Dec 2025 22:50:38 +0000 (+0100) Subject: Dont unload Spotify provider if dev token failed X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=26ea681b38f05760f9b977a53376161133cb4423;p=music-assistant-server.git Dont unload Spotify provider if dev token failed --- diff --git a/music_assistant/providers/spotify/provider.py b/music_assistant/providers/spotify/provider.py index 2f7fffaa..23289e43 100644 --- a/music_assistant/providers/spotify/provider.py +++ b/music_assistant/providers/spotify/provider.py @@ -861,10 +861,10 @@ class SpotifyProvider(MusicProvider): if "revoked" in str(err): # clear refresh token if it's invalid self.update_config_value(CONF_REFRESH_TOKEN_DEV, None) + self.update_config_value(CONF_CLIENT_ID, None) # Don't unload - we can still use the global session self.dev_session_active = False self.logger.warning(str(err)) - raise # make sure that our updated creds get stored in memory + config self._auth_info_dev = auth_info