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