yes.
This commit is contained in:
parent
c53e992f0d
commit
d03a44b7c2
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue