This commit is contained in:
Lukas Schulz 2020-12-20 14:27:43 +01:00
parent 023ce7c042
commit 420853bec3

View file

@ -42,7 +42,7 @@ is_scrolling_art = False
cover_art_offset_x = 0 cover_art_offset_x = 0
cover_art_offset_y = 96 cover_art_offset_y = 96
#last_cover_art = Image.new('RGB',(32,32),color='white') last_cover_art = Image.new('RGB',(32,32),color='white')
las_song = '' las_song = ''
token = None #oauth2.SpotifyOAuth(username, scope, client_id, client_secret, redirect_uri) token = None #oauth2.SpotifyOAuth(username, scope, client_id, client_secret, redirect_uri)
@ -116,7 +116,7 @@ def drawCanvas():
if not (last_song == song_name): if not (last_song == song_name):
print('text') print('text')
last_cover_art = cover_art #last_cover_art = cover_art
if(was_playing and not is_playing): if(was_playing and not is_playing):
is_scrolling_art = True is_scrolling_art = True
scroll = threading.Thread(target=scrollDownSongInfo) scroll = threading.Thread(target=scrollDownSongInfo)