yes.
This commit is contained in:
parent
917829f041
commit
2cf5cc1874
1 changed files with 3 additions and 1 deletions
4
main.py
4
main.py
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue