yes.
This commit is contained in:
parent
fe4f4d9c45
commit
3dd8597414
1 changed files with 2 additions and 0 deletions
2
main.py
2
main.py
|
@ -93,6 +93,8 @@ def showImage(image, offset_x = 0, offset_y = 0):
|
|||
def drawCanvas():
|
||||
canvas = Image.new('RGB', (192, 128), color = 'black')
|
||||
cover_art = get_track()
|
||||
if (cover_art is None):
|
||||
return
|
||||
if(is_playing):
|
||||
canvas.paste(cover_art,(0,96))
|
||||
songinfo = ImageDraw.Draw(canvas)
|
||||
|
|
Loading…
Reference in a new issue