Ubuntu: XBMC with AirPlay enabled

As of XBMC v11 (Eden), XBMC supports being an AirPlay target, allowing any device/platform that can run XBMC to receive AirPlay content from an iOS or iTunes source (as well as other 3rd party AirPlay sources for desktops and even Android).
Here's how...
First off a couple of AirPlay features and limitations to be aware of under XBMC:
  • An AirPlay password can be optionally set.
  • All XBMC platforms support video (without DRM, meaning videos downloaded from the iTunes store will not play in XBMC).
  • All XBMC platforms support pictures.
  • All XBMC platforms except Windows support music (with or without DRM). Windows will be supported when libshairport is ported to Win32.
  • AirPlay mirroring is currently unsupported.
  • Videos recorded from an iDevice might not display with the correct rotation. Support for this is planned for later.
To enable the AirPlay service... first install avahi if you don't already have it installed. The avahi daemon is a free zeroconf implementation which, includes a system for multicast DNS/DNS-SD service discovery. In plain english it advertises  Apple services across your LAN to other devices.
sudo apt-get install -y avahi-daemon

You may need to reboot now.
In XBMC enable AirPlay via the following menus:

  • System
  • Settings
  • Network
  • Services
  • Enable AirPlay
In Ubuntu adjust the firewall to allow the necessary ports:
sudo ufw allow from 192.168.1.0/24 to 192.168.1.0/24 port 36666
sudo ufw allow from 192.168.1.0/24 to 192.168.1.0/24 port 36667


With XBMC already running, using your iOS device fire up a photo/music and select your XBMC from under the AirPlay icon (see below). XBMC should automatically swap to your AirPlayed media, if not double check your firewall or try disabling the firewall for testing.

1 comment:

Note: only a member of this blog may post a comment.