AirPlay: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(Fixed forum link to thread about Windows issues.)
(39 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{XBMC wiki toc}}
{{mininav|[[General topics]]|[[Videos]]|[[Video playback|Playback]]}}
As of v11 (Eden), XBMC supports being an [[w:AirPlay|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).
<section begin="intro" />As of v11 (Eden), Kodi supports being an [[w:AirPlay|AirPlay]] target, allowing any device/platform that can run Kodi to receive some AirPlay content.<section end="intro" />


To enable the service go to
To enable the service go to
:{{highlight|bordered=yes|[[Settings/Network/Services|System/Settings -> Network -> Services]]}} and enable AirPlay
:{{highlight|bordered=yes|[[Settings/Network/Services|System/Settings -> Network -> Services]]}} and enable AirPlay


==Features and known issues==
== Features and known issues ==
* An AirPlay password can be optionally set.
* An AirPlay password can be optionally set.
* All platforms support video (without DRM, meaning videos downloaded from the iTunes store will not play in XBMC).
* 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 pictures.
* All platforms except Windows support music (with or without DRM). Windows will be supported when libshairport is ported to Win32.
* All platforms support music (with or without DRM).
* AirPlay mirroring is currently unsupported.
* AirPlay mirroring is currently unsupported.
* Videos recorded from an [[w:iDevice|iDevice]] might not display with the correct rotation. Support for this is planned for later.
* Videos recorded from an [[w:iDevice|iDevice]] might not display with the correct rotation on Windows. [http://forum.Kodi.tv/showthread.php?tid=149006]
* AirPlaying music will show meta data (song/artist info, etc). Currently only works when AirPlaying from iTunes on a desktop computer. Also works when playing from iOS 8.3.


==Requirements==
== Requirements ==
* '''Linux/Ubuntu''' users will need to install avahi-daemon: <pre>sudo apt-get install avahi-daemon #(on Ubuntu)</pre>
* '''Linux/Ubuntu''' users will need to install avahi-daemon: <pre>sudo apt-get install avahi-daemon #(on Ubuntu)</pre>
* '''Linux/Arch''' users will need to install avahi and shairplay and start avahi-daemon service:
    <pre>
    sudo pacman -S avahi shairplay #(on Arch)
    sudo systemctl enable avahi-daemon
    sudo systemctl start avahi-daemon</pre>


* '''Mac OS X''' needs no additional set-up.
* '''Mac OS X''' needs no additional set-up.
Line 20: Line 28:
* '''Windows''' users will need to install Bonjour (if you have iTunes installed then you will already have Bonjour): http://support.apple.com/kb/dl999
* '''Windows''' users will need to install Bonjour (if you have iTunes installed then you will already have Bonjour): http://support.apple.com/kb/dl999


== Apple TV 2 ==
* '''Network''',  be sure that your router allow multicast traffic
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 ==
There are three [[advancedsettings.xml]] settings that apply to AirPlay:
 
 
;<enableairtunesdebuglog>
{{#lsth:advancedsettings.xml|<enableairtunesdebuglog>}}


;<airtunesport>
{{Isengard updated}}
{{#lsth:advancedsettings.xml|<airtunesport>}}


;<airplayport>
[[Category:Manual]]
{{#lsth:advancedsettings.xml|<airplayport>}}
[[Category:Video library]]
[[Category:Music library]]

Revision as of 11:23, 1 July 2015

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

As of v11 (Eden), Kodi supports being an AirPlay target, allowing any device/platform that can run Kodi to receive some AirPlay content.

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. Also works when playing from iOS 8.3.

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