This commit is contained in:
Lukas Schulz 2020-12-20 13:41:51 +01:00
parent bd9d58c9da
commit 563d59bceb

View file

@ -130,11 +130,11 @@ def scrollDownSongInfo(offset_x=0,offset_y=96):
return
for i in range(32):
song_info_canvas = Image.new('RGB', (192,32), color = 'black')
#song_info_canvas = song_info_canvas.paste(cover_art,(0,i))
songinfo = ImageDraw.Draw(song_info_canvas)
songinfo_offset_x = 33
songinfo.text((songinfo_offset_x,11+i), song_name)
songinfo.text((songinfo_offset_x,i), artist_name)
song_info_canvas = song_info_canvas.paste(cover_art,(0,i))
showImage(song_info_canvas, offset_x, offset_y)
time.sleep(0.02)