yes.
This commit is contained in:
parent
f0f2efe58b
commit
bcf1fe8b71
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -129,9 +129,9 @@ def scrollDownSongInfo(offset_x=0,offset_y=96):
|
|||
if (cover_art is None):
|
||||
return
|
||||
for i in range(32):
|
||||
canvas = Image.new('RGB', (192,32), color = 'black')
|
||||
canvas = canvas.paste(cover_art,(0,i))
|
||||
songinfo = ImageDraw.Draw(canvas)
|
||||
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,songinfo_offset_y+11+i), song_name)
|
||||
songinfo.text((songinfo_offset_x,songinfo_offset_y+i), artist_name)
|
||||
|
|
Loading…
Reference in a new issue