master
Lukas Schulz 2020-12-20 14:25:03 +01:00
parent fe13250b53
commit 98e3fb93d4
1 changed files with 1 additions and 1 deletions

View File

@ -51,10 +51,10 @@ token = None #oauth2.SpotifyOAuth(username, scope, client_id, client_secret, red
font = ImageFont.load_default()
print('before get_track()')
def get_track():
print('getting current song info')
get_access_token()
sp = spotipy.Spotify(auth=token)
track = sp.currently_playing()
if track is None: