This commit is contained in:
Lukas Schulz 2020-12-20 21:33:16 +01:00
parent e012737475
commit bd5c09863d

View file

@ -56,7 +56,7 @@ token = None #oauth2.SpotifyOAuth(username, scope, client_id, client_secret, red
#token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri) #token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri)
font = ImageFont.load_default() font = ImageFont.load_default()
clock_font = ImageFont.truetype(font='BebasNeue_Regular_1.otf', size=40) clock_font = ImageFont.truetype(font='BebasNeue_Regular_1.otf', size=60)
def get_track(): def get_track():
@ -151,7 +151,7 @@ def drawCanvas():
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y)) y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y))
y.start() y.start()
showImage(canvas) #showImage(canvas)
def scrollDownSongInfo(offset_x=0,offset_y=96, song_name=song_name, artist_name=artist_name, cover_art=last_cover_art): def scrollDownSongInfo(offset_x=0,offset_y=96, song_name=song_name, artist_name=artist_name, cover_art=last_cover_art):
global is_scrolling_art global is_scrolling_art