This commit is contained in:
Lukas Schulz 2020-12-20 01:15:58 +01:00
parent 2112425979
commit 445c2712fc

View file

@ -85,8 +85,9 @@ def showImage(image, offset_x = 0, offset_y = 0):
def drawCanvas():
canvas = Image.new('RGB', (192, 128), color = 'black')
cover_art = get_track()
if(is_playing):
canvas.paste(get_track(),(0,96))
canvas.paste(cover_art,(0,96))
songinfo = ImageDraw.Draw(canvas)
songinfo_offset_x = 33
songinfo_offset_y = 101