This commit is contained in:
Lukas Schulz 2020-12-20 14:33:27 +01:00
parent 3291a53eeb
commit 085b4b9520

View file

@ -132,7 +132,7 @@ def drawCanvas():
showImage(canvas)
def scrollDownSongInfo(offset_x=0,offset_y=96, song_name=song_name, artist_name=artist_name, cover_art=get_track()):
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
#cover_art = get_track()
if (cover_art is None):
@ -148,7 +148,7 @@ def scrollDownSongInfo(offset_x=0,offset_y=96, song_name=song_name, artist_name=
time.sleep(0.001)
is_scrolling_art = False
def scrollUpSongInfo(offset_x=0, offset_y=96, song_name=song_name, artist_name=artist_name, cover_art=get_track()):
def scrollUpSongInfo(offset_x=0, offset_y=96, song_name=song_name, artist_name=artist_name, cover_art=last_cover_art):
global is_scrolling_art
#cover_art = get_track()
if (cover_art is None):