piradio icon indicating copy to clipboard operation
piradio copied to clipboard

MPD and AirPlay client for Raspberry Pi Touchscreen

PiRadio

http://i.imgur.com/GUYePV8.jpg

This is a graphical MPD and AirPlay client for a Raspberry Pi with Adafruit’s 320×240 2.8″ PiTFT touchscreen. Instead of using the small screen for playback control, it shows the artist and song title in a rather large font. Also, when streaming from another device via AirPlay, it shows that device’s name.

The base for this was Adafruit’s tutorial (please go there for setup information), but it is heavily customized for my personal use, or more specifically, for my wife. It is just a frontend to drive the LCD. MPD and shairport have to be set up independently. For AirPlay, I made the shairport daemon pause (rather than stop) MPD while it is streaming. While MPD is paused, PiRadio will show the AirPlay information instead. If MPD is stopped I have another script to restart it.