AirPlay on Raspberry Pi the easy way

07Jan13

The Quick version

  1. Get OpenELEC Download an SD Card image file from resources.pichimney.com (latest version at the time of writing is RC1 – 2.99.1).
  2. Install OpenELEC Unzip the image file and burn it onto a (1GB or bigger) SD card using Win32DiskImager (for Windows) or dd (for Mac or Linux).
  3. Plug Everything in Plug the SD card into the RPi. Plug the RPi into your TV (or AV amp/receiver) using HDMI. (Optionally[1]) plug in a remote control (e.g. a cheap Win MCE remote from eBay or a nice Kogan keymote). Attach the RPi to your network. Finally plug in a suitable 700mA power supply.
  4. Switch On.
  5. Enable AirPlay in System > Settings > Services > AirPlay
  6. Enjoy The OpenELEC device should now show up on the AirPlay menu on any iOS device connected to the same network allowing music, videos, YouTube etc. to be streamed.

Minecraft_Style_AirPlay

A more longwinded explanation

I’ve had a number of people ask me recently whether they could possibly get AirPlay working on the Raspberry Pi, and I’ve even seen some much more involved HowTo type articles. All that effort isn’t really necessary, as XBMC has had AirPlay support for some time, OpenELEC packages XBMC in an easy to use and lightweight container, and OpenELEC is a doddle to install from an SD card image file.

If you don’t have a wired network

Then there’s a bit more setup involved to get things working over WiFi with a suitable USB dongle, but not very much. Go to System > OpenELEC and fill out the Network (or Network 2) section:

Network Technology – WLAN
Network Interface – wlan0
Static IP settings – ignore this unless you’re sure about what you’re doing
WLAN SSID – whatever your  WiFi network is called
WLAN Security – select whatever type you use (if any) and fill out the password

I’ve tested this myself with an Edimax EW-7811UN, which is one of the adaptors known to work reliably with the RPi.

Limitations

The only digital audio output from the Raspberry Pi is HDMI. This is fine if you’re AirPlaying video/YouTube, but not so great for music (unless you have an HDMI capable AV amp/receiver or an HDMI/SPDIF splitter). You can of course get audio out of the 3.5mm jack, but whilst AirPlay isn’t audiophile quality anyway the RPi analogue output is likely to disappoint.

Notes

[1] A USB remote isn’t essential, as there are XBMC remote apps for iOS and Android. It’s also possible (but not very living room friendly) to use a regular keyboard and mouse.



2 Responses to “AirPlay on Raspberry Pi the easy way”

  1. If you use your RPi connected to your TV and your TV has an HDMI-CEC interface (like most modern TVs), it’s likely that your TV remote will work straight out of the box.

    Mine did (Samsung Series 5)

  2. It seems that with KODI, just Audio and Photo is working, video not work for real…


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.