moved todo

This commit is contained in:
Mathieu B 2021-08-01 11:46:04 +02:00
parent 314bf9db8d
commit 9d1b844667

View File

@ -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