From 9d1b8446671cbae2017d493702575bf57be24b59 Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Sun, 1 Aug 2021 11:46:04 +0200 Subject: [PATCH] moved todo --- jarvis/skills/entertainement/spotify/spotify.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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