This commit is contained in:
Lukas Schulz 2020-12-20 13:32:16 +01:00
parent eac5ebc2c6
commit f0f2efe58b

View file

@ -131,7 +131,7 @@ def scrollDownSongInfo(offset_x=0,offset_y=96):
for i in range(32): for i in range(32):
canvas = Image.new('RGB', (192,32), color = 'black') canvas = Image.new('RGB', (192,32), color = 'black')
canvas = canvas.paste(cover_art,(0,i)) canvas = canvas.paste(cover_art,(0,i))
songinfo = Image.Draw.Draw(canvas) songinfo = ImageDraw.Draw(canvas)
songinfo_offset_x = 33 songinfo_offset_x = 33
songinfo.text((songinfo_offset_x,songinfo_offset_y+11+i), song_name) songinfo.text((songinfo_offset_x,songinfo_offset_y+11+i), song_name)
songinfo.text((songinfo_offset_x,songinfo_offset_y+i), artist_name) songinfo.text((songinfo_offset_x,songinfo_offset_y+i), artist_name)