master
Lukas Schulz 2020-12-19 22:44:06 +01:00
parent c53e992f0d
commit d03a44b7c2
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ screen = RGBMatrix(options = options) #pygame.display.set_mode(self.size, self.f
token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)
def get_track():
print('getting info')
sp = spotipy.Spotify(auth=token)
track = sp.currently_playing()
print(track['is_playing'])