Archive:ITunes (DAAP)

From Official Kodi Wiki
Jump to: navigation, search

This page or section has not been updated in a long time, no longer applies, refers to features that have been replaced/removed, and/or may not be reliable.

This page is only kept for historical reasons, or in case someone wants to try updating it.

The Digital Audio Access Protocol (DAAP) is the protocol introduced by Apple in its iTunes software to share media across a local network.

1 iTunes Introduction

iTunes (from Apple) is a digital media-player application for Windows/Mac-OSX. It is also used for organizing digital music and video files. iTunes is also an interface to manage the music on Apple's popular iPod portable digital audio-player. Additionally, iTunes can connect to the iTunes Music Store (sometimes referred to as "iTMS") which allows users to purchase digital music and movie files that can be played by iPods and iTunes, the files downloaded from iTunes Music Store are however protected/encrypted by Apple's proprietary DRM (Digital Rights Management) (called FairPlay) which makes them impossible to play in anything other than iTunes or iPods, (thus XBMC can not play any files purchases on iTunes Music Store).

2 iTunes and XBMC

Creating a network share using iTunes is a simple solution if all that you want to stream from your PC to XBMC is music. However, XBMC is only able to connect to libraries shared by iTunes 6 or earlier. In order to use this method, you first need to download and install iTunes software on your Windows PC or Apple Mac-OS X computers.

  • note: newer implementations of iTunes no longer use DAAP

3 Configuring iTunes on your computer

3.1 Step 1

When you launch iTunes for the first time, it will prompt you to scan your computer for music files. Follow the onscreen prompts to scan your music library into iTunes.

3.2 Step 2

After scanning your music library, open the preferences diaglog in iTunes and click on the Sharing tab. Then, check the "Share My Music"" option, ensure that the "Share Entire Library" option is selected, and name the share. In this case, we called it Music.

Your configuration should look like this:


4 How to Configure iTunes Sharing in XBMC

4.1 Adding iTunes share via GUI

Just bring up the context menu from the root listing of your sources in My Music Files and select Add Source. Then select Browse to browse for your path, and "Add Network Location...". You want to add an iTunes (DAAP) share, and you'll need to input the IP address of the PC where iTunes is being shared from. Click OK to return to the filebrowser, and then select the newly added iTunes source. You can then name the source in the box below and optionally select a thumbnail that will be used for that source.

4.2 Adding iTunes share via XML

You can add or change the iTunes source in Sources.xml like all Media Sources, your iTunes source needs to contain two pieces of information:

  1. The <name> tag - This indicates what XBMC will display as the name of the source
  2. The <path> tag - This indicates where the information is actually located

For the purpose of these examples, I will use as the IP address of the PC where the shares are located. For your configuration, simply substitute the IP-address of your computer.

    <name>iTunes Network Share (DAAP)</name>

Note! General information and advanced configuration of shares/sources regarding, see Media Sources.