This commit is contained in:
Lukas Schulz 2020-12-20 14:18:41 +01:00
parent 917829f041
commit 2cf5cc1874

View file

@ -51,6 +51,8 @@ token = None #oauth2.SpotifyOAuth(username, scope, client_id, client_secret, red
font = ImageFont.load_default() font = ImageFont.load_default()
main()
def get_track(): def get_track():
print('getting current song info') print('getting current song info')
sp = spotipy.Spotify(auth=token) sp = spotipy.Spotify(auth=token)
@ -233,7 +235,7 @@ if __name__ == "__main__":
while True: while True:
get_access_token() get_access_token()
# drawCanvas() drawCanvas()
time.sleep(10) time.sleep(10)