This commit is contained in:
Lukas Schulz 2020-12-20 13:53:49 +01:00
parent 394a273537
commit 80abe05976

View file

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