yes.
This commit is contained in:
parent
2112425979
commit
445c2712fc
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
@ -85,8 +85,9 @@ def showImage(image, offset_x = 0, offset_y = 0):
|
||||||
|
|
||||||
def drawCanvas():
|
def drawCanvas():
|
||||||
canvas = Image.new('RGB', (192, 128), color = 'black')
|
canvas = Image.new('RGB', (192, 128), color = 'black')
|
||||||
|
cover_art = get_track()
|
||||||
if(is_playing):
|
if(is_playing):
|
||||||
canvas.paste(get_track(),(0,96))
|
canvas.paste(cover_art,(0,96))
|
||||||
songinfo = ImageDraw.Draw(canvas)
|
songinfo = ImageDraw.Draw(canvas)
|
||||||
songinfo_offset_x = 33
|
songinfo_offset_x = 33
|
||||||
songinfo_offset_y = 101
|
songinfo_offset_y = 101
|
||||||
|
|
Loading…
Reference in a new issue