Show album art in Conky with python script.
05/09/2010
I wanted to show some Album art in conky.
Ofcourse i didnt need to re-invent the wheel so I stumbled upon this forum topic:
Crunchbanglinux::forums::images-in-conky-specifically-rhythmbox-album-art
iggykoopa created a nice script (see here) but because I like the dark feeling of #! I wanted to have the album art in greyscale.
I took his base from: http://crunchbanglinux.org/pastebin/29 and added this part to it: (and an option so you can start it with “conkymusic.py -g”.)
1 2 3 4 |
def grey: image = Image.openhome + "/.album" image = image.convert'L' image.savehome + "/.album", "png" |
You can grab the whole code here: Python CrunchBang Linux Pastebin.
The code in conky:
1 2 |
${execi 10 /home/pieter/.conky/conkymusic.py -g -s 75x75} ${image /home/pieter/.album -p 170,10 -s 75x75} |
Works great here.
Share the post "Show album art in Conky with python script."