This commit is contained in:
Lukas Schulz 2020-12-20 13:52:24 +01:00
parent 158c6df195
commit 394a273537

View file

@ -144,8 +144,8 @@ def scrollDownSongInfo(offset_x=0,offset_y=96):
song_info_canvas = Image.new('RGB', (192,32), color = 'black') song_info_canvas = Image.new('RGB', (192,32), color = 'black')
songinfo = ImageDraw.Draw(song_info_canvas) songinfo = ImageDraw.Draw(song_info_canvas)
songinfo_offset_x = 33 songinfo_offset_x = 33
songinfo.text((songinfo_offset_x,11+i), song_name) songinfo.text((songinfo_offset_x,16+i), song_name)
songinfo.text((songinfo_offset_x,i), artist_name) songinfo.text((songinfo_offset_x,5+i), artist_name)
song_info_canvas.paste(cover_art,(0,i)) song_info_canvas.paste(cover_art,(0,i))
showImage(song_info_canvas, offset_x, offset_y) showImage(song_info_canvas, offset_x, offset_y)
time.sleep(0.001) time.sleep(0.001)