XBMC will be renamed to Kodi for v14. Read here for more details

Profiles, ITunes (DAAP)

From Kodi
(Difference between pages)
Jump to: navigation, search
(The Profile Lock Preferences)
 
m (Enabled TOC again)
 
Line 1: Line 1:
XBMC supports multiple user profiles, much the same as setting up individual users on your home computer. These individual profiles allow you to customize the environment for multiple users, allowing for such functionality as:
+
{{XBMC wiki toc Inline}}
*Customized view settings such as skins for each user
+
__NOEDITSECTION__
*The ability to lock folders, such as network shares on a per-user basis
+
__TOC__
*Unique RSS feeds for each user
+
The Digital Audio Access Protocol (DAAP) is the protocol introduced by Apple in its iTunes software to share media across a local network.
*Unique keymapping for each user
+
  
All options stored in [[The UserData Folder]] can be customized per profile, allowing for an amazing amount of flexibility.
+
==iTunes Introduction==
 +
[http://en.wikipedia.org/wiki/Itunes 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 [http://en.wikipedia.org/wiki/IPOD iPod] portable digital audio-player. Additionally, iTunes can connect to the [http://en.wikipedia.org/wiki/ITunes_Music_Store 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 [http://en.wikipedia.org/wiki/Digital_rights_management 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).  
  
'''Note: There are many references to the Master Code below. See [[System_Settings#Master_Lock|Master Lock]] for more information.'''
+
==iTunes and XBMC==
==Profile Settings==
+
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 [http://www.apple.com/itunes/download/ iTunes software] on your Windows PC or Apple Mac-OS X computers.
{|
+
|
+
Selecting Profiles from the main settings window will bring you to the screen pictured to the left. In this screen you have the following options:
+
;Login Screen
+
:Enables/Disables the login screen
+
;Add Profile
+
:Add a new profile
+
;Default User / any available profile name
+
:Select the given profile. In order to edit a profile, highlight it, open the context menu by pressing the white button and choose ''Edit Profile''.
+
<br><br>Note that at the bottom of the screen, the currently selected profile is displayed.
+
|
+
[[image:profile1.jpg|300px]]
+
|}
+
  
==Adding a Profile==
+
==Configuring iTunes on your computer==
In order to add a profile, simply choose '''Add Profile... '''. '''Note, selecting a profile name from the main Profile Screen will bring up this same menu.'''
+
 
{|
 
{|
|
+
| valign="top" |
[[image:profile2.jpg|300px]]
+
===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.
First, you will be prompted to enter a name for your profile. Enter the name for your profile. Then, it will prompt you for your profile directory. This is where your personalized settings will be stored. Choose ''New Folder'' and add a folder with the same name as your profile. Then select the new directory and choose '''OK'''.<br><br>You should then see a screen much like the one to the left.
+
===Step 2===
The following options are available:
+
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.  
;Profile Name
+
:Change the name of your profile
+
;Profile Picture
+
:Allows you to associate a picture with your profile
+
;Profile Directory
+
:Allows you to choose the folder in which your individual settings are stored
+
;Lock Preferences
+
:Allows you to lock many of your preferences. This is detailed below.
+
;Media Info
+
:Allows you to have separate information saved for your media, i.e. IMdB, AllMusic, etc. The options are
+
***'''Separate''' - Profiles have separate info with full control
+
***'''Shares with Default''' - Shares info with the default user with full control
+
***'''Shares with Default (Read Only)''' - Shares with the default user, and is locked by the master code
+
***'''Separate (Locked)''' - Profile has separate info, but you can only change it by enabling master mode.
+
;Media Sources
+
:Allows you to have separate media sources for the profiles. The options are
+
***'''Separate''' - Profiles have separate sources with full control
+
***'''Shares with Default''' - Shares sources with the default user with full control
+
***'''Shares with Default (Read Only)''' - Shares with the default user, and is locked by the master code
+
***'''Separate (Locked)''' - Profiles have separate shares, but you can only change it by enabling master mode.
+
|}
+
  
==The Profile Lock Preferences==
+
 
{|
+
Your configuration should look like this:
|
+
 
;Profile Lock
+
[[image:itunes.png|360px]]
:Allows you to set a password for the profile. The options are:
+
 
***'''Numeric Password''' - Enter a Numeric Password using the On Screen Keyboard
+
 
***'''Gamepag Button Combo''' - Enter a series of buttons using the Gamepad
+
 
***'''Full-Text Password''' - Enter a plain-text password using the On Screen Keyboard
+
==How to Configure iTunes Sharing in XBMC==
;Lock Music Section
+
===Adding iTunes share via GUI===
;Lock Video Section
+
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.
;Lock Pictures Section
+
 
;Lock Programs and Scripts Section
+
 
;Lock File Manager
+
===Adding iTunes share via XML===
;Lock Settings
+
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:
:Restricts access for the selected profile to the selected sections when selected
+
 
|
+
#'''The <name> tag -''' This indicates what XBMC will display as the name of the source
[[image:profile3.jpg|300px]]
+
#'''The <path> tag -''' This indicates where the information is actually located
|}
+
 +
For the purpose of these examples, I will use 192.168.1.100 as the IP address of the PC where the shares are located. For your configuration, simply substitute the IP-address of your computer.
 +
<xml>  <source>
 +
    <name>iTunes Network Share (DAAP)</name>
 +
    <path>daap://192.168.1.100</path>
 +
  </source></xml>
 +
 
 +
Note! General information and advanced configuration of shares/sources regarding, see [[Media Sources]].
 +
 
 +
[[category:File Sharing]]

Revision as of 04:43, 22 April 2009

Home icon grey.png   ▶ ITunes (DAAP)

Contents

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.

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:

Itunes.png


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 192.168.1.100 as the IP address of the PC where the shares are located. For your configuration, simply substitute the IP-address of your computer.

<xml>

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic


    <name>iTunes Network Share (DAAP)</name>
    <path>daap://192.168.1.100</path>
</xml>

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

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox