Blog Stats
  • Posts - 197
  • Articles - 0
  • Comments - 36
  • Trackbacks - 0

 

Album Art On Raspberry Pi

 

So some good progress.    I wrote a bit of python that reads the Meta-Data from Shairport Sync.  This gets me album art,  artist title etc.  

 

I can send this code to you, if you are interested.

Just to make the cabling a little neater,  I needed to make the Pi work upside down,  which resulted in me needing to rotate the album art image by 180 degrees.

The Debian Package ImageMagic takes care of all this.   I ended up with the python script saving the image out to a folder,  I then run the following command every time I get a new image

convert albumart.jpg -rotate 180 albumart.jpg; sudo fbi -T 1 -d /dev/fb0 -noverbose -a -u albumart.jpg > /dev/null 2>&1

 

This rotates the image and then using FBI output’s the jpg to the LCD screen.

IMG_2733

 

So I’m still working on making sure everything is stable,   but all works as described so far…


Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

 

 

Copyright © Richard Jones