This commit is contained in:
Lukas Schulz 2020-12-20 14:20:06 +01:00
parent 8e98909651
commit 7f01c9ed47

View file

@ -53,7 +53,6 @@ font = ImageFont.load_default()
def get_track():
main()
print('getting current song info')
sp = spotipy.Spotify(auth=token)
track = sp.currently_playing()
@ -227,7 +226,7 @@ def get_access_token():
token_info = refresh_access_token(token_info)
token = token_info["access_token"]
if __name__ == "__main__":
main()
time.sleep(10)
@ -237,7 +236,7 @@ if __name__ == "__main__":
get_access_token()
drawCanvas()
time.sleep(10)
main()