diff --git a/jarvis/skills/entertainement/spotify/spotify.py b/jarvis/skills/entertainement/spotify/spotify.py index 292967e..f140388 100644 --- a/jarvis/skills/entertainement/spotify/spotify.py +++ b/jarvis/skills/entertainement/spotify/spotify.py @@ -10,6 +10,8 @@ from spotipy import SpotifyOAuth from jarvis.utils import config_utils scope = "user-read-playback-state, user-modify-playback-state, user-read-currently-playing" + +# TODO: Investigate the open_browser and automatic auth renewing without user interaction sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope, client_id=config_utils.get_in_config("SPOTIFY_CLIENT_ID"), client_secret=config_utils.get_in_config("SPOTIFY_CLIENT_SECRET"), @@ -17,9 +19,6 @@ sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope, open_browser=False)) -# TODO: Investigate the open_browser and automatic auth renewing without user interaction - - def get_spotify(): return sp