yes.
This commit is contained in:
parent
fe13250b53
commit
98e3fb93d4
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue