XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Mac and AppleTV Specific Support

XBMC for Mac and AppleTV Specific Support Need help with XBMC for Mac or Apple TV, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-03-03, 20:42   #1
fpoil
Junior Member
 
Join Date: Feb 2008
Posts: 21
fpoil is on a distinguished road
Thumbs up HOW-TO access your Apple iTunes library from within XBMC

this is a way to use your itunes library without importing it in the music data base of xbmc, you will havr access to your itunes library, your playlists and so on.


1) download the last nighty build of Firefly, a daap open-source media server :

here

2) install firefly (double click on firefly.prefpane) and change manually the port to 3689, don't enter any password, launch firefly server

3) two solutions :

a) open source.xml in your_user/library/Application Support/XBMC/UserData and type in your music section :

<source>
<name>whatever you want</name>
<path>daap://your_IP:3689/</path>
</source>

b) open xbmc, go to music and click on "add source", "browse", "add network location" and then :

protocol : Itunes music share (daap)
server adress : your_ip

then click on "ok"

it's done, you have access now to itunes library and your playlists (i've got itunes 7.6)
fpoil is offline   Reply With Quote
Old 2008-03-03, 20:58   #2
rickeo
Junior Member
 
Join Date: Feb 2008
Posts: 18
rickeo is on a distinguished road
Default

I am forever in you're debt. THANK YOU!
rickeo is offline   Reply With Quote
Old 2008-03-03, 21:08   #3
elan
Team Plex
 
Join Date: Dec 2007
Location: Maui
Posts: 268
elan is on a distinguished road
Send a message via Skype™ to elan
Default

Very nice!

I should add that while specifying another port in FireFly works, I don't believe the XBMC DAAP client respects the section of another port. (I was trying to run iTunes at the same time as FireFly.)

-elan
__________________
Plex
elan is offline   Reply With Quote
Old 2008-03-03, 21:09   #4
rickeo
Junior Member
 
Join Date: Feb 2008
Posts: 18
rickeo is on a distinguished road
Default

Err.. guess I spoke to soon. XBMC still doesnt play my Apple Lossless files... which is what my entire music collection is composed of...
rickeo is offline   Reply With Quote
Old 2008-03-03, 21:30   #5
topfs2
Team-XBMC Developer
 
topfs2's Avatar
 
Join Date: Dec 2007
Location: Sweden
Posts: 1,858
topfs2 is an unknown quantity at this point
Default

Well I'm not sure on the osx port but the linux plays my apple lossless, atleast my own decoded ones.

Sure they aren't DRM ?

Otherwise I'd recomend you to change to flac, all O/S supports it and works great. But that probably means you have to leave iTunes behind

<edit> Just noticed it was ONLY my own decoded ones that worked. Sry I am tired today </edit>
__________________
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.



Last edited by topfs2; 2008-03-03 at 21:41.
topfs2 is online now   Reply With Quote
Old 2008-03-03, 22:37   #6
rickeo
Junior Member
 
Join Date: Feb 2008
Posts: 18
rickeo is on a distinguished road
Default

Let me clarify. Im confusing myself here...

The apple lossless files play fine when i just have their location on my hard drive added via the "add source" button. Yet, with the same method, if i select "Library" mode, they give me the "to many consecutive items" error.

When i add my library via the Firefly method, they dont play at all, wether i use File view or Library. "to many consecutive items" error both times.
rickeo is offline   Reply With Quote
Old 2008-03-04, 01:39   #7
fpoil
Junior Member
 
Join Date: Feb 2008
Posts: 21
fpoil is on a distinguished road
Default

well, you are right, my apple lossless files didn't play in xbmc with firefly

but :

1) go to your_user/library/application support/firefly

2) open "firefly.conf" with Textedit or whatever you want

3) look for "ssc_prog = ./mt-daapd-ssc.sh"

4) then type after : "always_transcode=alac" and save your file

5) stop xbmc, stop firefly, launch firefly, launch xbmc

it's done (for me now i can play apple lossless files through firefly)

Quote:
ssc_codectypes = alac

#
# ssc_prog (optional)
#
# Program that is used in server side format conversion.
# Program must accept following command line syntax:
# ssc_prog filename offset length ...
# Parameter filename is the real name of the file that is
# to be converted and streamed, offset is number of bytes
# that are skipped from the beginning of the _output_ file
# before streaming is started, length is length of the song
# in seconds (or zero). All other possible arguments must
# be ignored. The resulting wav file (or the rest of
# the file after initial seek) is written to the standard
# output by the ssc_prog program. This is typically
# a script that is a front end for different conversion tools
# handling different formats.
#
# On the Mac, this is a relative path by default

ssc_prog = ./mt-daapd-ssc.sh

always_transcode=alac
fpoil is offline   Reply With Quote
Old 2008-03-04, 12:42   #8
cyantist
Junior Member
 
Join Date: Feb 2008
Posts: 21
cyantist is on a distinguished road
Default

I can confirm the above information is correct and XBMC is now playing my DRM-free Apple Lossless files. I don't know about DRM'd files since I don't have any of those. I was getting the "too many consecutive" error before the above mod to Firefly.

Excellent info guys and thanks for sharing. I have converted more and more of my music collection over to the lossless format and couldn't be happier now that they play in this great media center!

Lookout Frontrow...
cyantist is offline   Reply With Quote
Old 2008-03-04, 13:03   #9
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

Maybe libdaap (the DAAP-client library) in XBMC is in need of an general update in any case?

Quote:
<source>
<name>whatever you want</name>
<path>daap://your_IP:3689/</path>
</source>
Can't you simply replace "your_IP" with "localhost"?
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Gamester17 is offline   Reply With Quote
Old 2008-03-04, 13:23   #10
fpoil
Junior Member
 
Join Date: Feb 2008
Posts: 21
fpoil is on a distinguished road
Default

I'm think so but i didn't try
fpoil is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:49.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project