AirPlay: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Undo revision 57712 by 60662 (talk) Sorry, english only on the wiki for the time being. This would get way too messy with the current structure to do a language per section.)
No edit summary
(32 intermediate revisions by 7 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).
 
{{notice/dash|Due to changes made by Apple, AirPlay support depends on what version of iOS your sending-device is using:
* iOS 8 or older: Kodi supports audio, video, and pictures.
* iOS 9 or newer: Kodi only supports audio.}}
 
<section begin="intro" />As of v11 (Eden), Kodi has '''very limited support''' for 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 -> Services -> AirPlay]]}} 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). Audio within the video will also work on all platforms.
* 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).
* All platforms support music (with or without DRM).
**{{frodo note|Windows music support added in [[nightly builds]]}}
* 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.
* 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.
*{{frodo note|AirPlaying music In [[nightly builds]] will show meta data (song/artist info, etc). Currently only works when AirPlaying from iTunes on a desktop computer.}}


==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 22: Line 32:
* '''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


*'''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 ==
There are three [[advancedsettings.xml]] settings that apply to AirPlay:
 
 
;<enableairtunesdebuglog>
{{#lsth:advancedsettings.xml|<enableairtunesdebuglog>}}


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


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

Revision as of 04:08, 25 February 2016

Home icon grey.png   ▶ General topics ▶ Videos ▶ Playback ▶ AirPlay
Attention.png NOTICE:
Due to changes made by Apple, AirPlay support depends on what version of iOS your sending-device is using:
  • iOS 8 or older: Kodi supports audio, video, and pictures.
  • iOS 9 or newer: Kodi only supports audio.


As of v11 (Eden), Kodi has very limited support for 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 -> Services -> AirPlay 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.
  • 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