AirPlay: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 29: Line 29:


* '''Network''',  be sure that your router allow multicast traffic
* '''Network''',  be sure that your router allow multicast traffic
== Apple TV 2 ==
When using XBMC's AirPlay server feature on an Apple TV 2 (black) be sure to disable the native ATV2 AirPlay server in the ATV2's settings. Using the native AirPlay server will crash XBMC.


== advancedsettings.xml ==
== advancedsettings.xml ==

Revision as of 03:32, 2 May 2015

Home icon grey.png   ▶ General topics ▶ Videos ▶ Playback ▶ AirPlay

As of 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).

To enable the service go to

System/Settings -> Network -> Services and enable AirPlay

Features and known issues

  • An AirPlay password can be optionally set.
  • All platforms support video (without DRM, meaning videos downloaded from the iTunes store will not play in Kodi). Audio within the video will also work on all platforms.
  • AirPlaying from some apps adds DRM which prevents Kodi from playing the video.
  • All platforms support pictures.
  • All platforms support music (with or without DRM).
  • AirPlay mirroring is currently unsupported.
  • Videos recorded from an iDevice might not display with the correct rotation on Windows.[1]
  • AirPlaying music will show meta data (song/artist info, etc). Currently only works when AirPlaying from iTunes on a desktop computer.

Requirements

  • Linux/Ubuntu users will need to install avahi-daemon:
    sudo apt-get install avahi-daemon #(on Ubuntu)
  • Linux/Arch users will need to install avahi and shairplay and start avahi-daemon service:
    sudo pacman -S avahi shairplay #(on Arch)
    sudo systemctl enable avahi-daemon
    sudo systemctl start avahi-daemon
  • Mac OS X needs no additional set-up.
  • Network, be sure that your router allow multicast traffic

advancedsettings.xml

There are three advancedsettings.xml settings that apply to AirPlay:


<enableairtunesdebuglog>


<airtunesport>

This overwrites the defalt listening port of the AirTunes server (announced via zeroconf).


<airplayport>

This overwrites the default listening port of the AirPlay server (announced via zeroconf).