iTunes plugin in XBMC for Windows?

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Kaistar Offline
Junior Member
Posts: 4
Joined: Sep 2008
Reputation: 0
Question  iTunes plugin in XBMC for Windows?
Post: #1
I've been googling and I've not found an answer to this question yet. I'm trying to move my itunes library into XBMC and it's not working up till now...

What i've found from the Mac forums is the DAAP method but it's not working for me either...
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,930
Joined: May 2004
Reputation: 12
Post: #2
XBMC doesn't support the new iTunes DAAP (which isn't actually DAAP). There are itunes plugins, to allow you to view your itunes db in XBMC, but for the time being they are only for OSX. Your best bet is to just scan your music into our DB, if it's going to take awhile, do it overnight.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 25,689
Joined: Oct 2003
Reputation: 169
Post: #3
The itunes plugin (available on xbmc-addons googlecode svn) will work on windows, but you'll need to manually alter the path to the itunes xml file.

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.


[Image: badge.gif]
find quote
Kaistar Offline
Junior Member
Posts: 4
Joined: Sep 2008
Reputation: 0
Post: #4
jmarshall Wrote:The itunes plugin (available on xbmc-addons googlecode svn) will work on windows, but you'll need to manually alter the path to the itunes xml file.

Hi!

Thanks for the super-duper good news lol. However, I'm not really sure what you mean by "Available on xbmc-addons googlecode svn". I've searched through XBMC scripts and couldn't find iTunes plugin so... Blush Would you mind giving more pointers please?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 25,689
Joined: Oct 2003
Reputation: 169
Post: #5
Use google to search for "xbmc-addons svn" yeilds:

xbmc-addons.googlecode.com

Cheers,
Jonathan

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.


[Image: badge.gif]
find quote
Kaistar Offline
Junior Member
Posts: 4
Joined: Sep 2008
Reputation: 0
Post: #6
Wow you guys are definitely efficient =)

I got the file, unzipped and copied it into the appropriate folder but I'm unsure how I'm supposed to "point it" to my iTunes xml. I've opened a few of the files in notepad but they turned out in gibberish.

Is it supposed to be done in XBMC? I can't figure it out there either... Confused
find quote
d4rk Offline
Team-XBMC Developer
Posts: 499
Joined: May 2007
Reputation: 1
Location: Albuquerque
Post: #7
Look for this line in default.py:
Code:
filename = os.getenv("HOME")+"/Music/iTunes/iTunes Music Library.xml"
and change it to
Code:
filename = 'C:\\blah blah\\blah blah\\iTunes Music Library.xml'
Note the single quotes and double backslashes. Also make sure that the variable 'filename' starts exactly above the keyword 'return' below it (like it does now). In other words, make sure that you don't change the number of leading spaces in front of 'filename'.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


[Image: badge.gif]
find quote
quebert Offline
Senior Member
Posts: 295
Joined: Sep 2008
Reputation: 0
Post: #8
I have a question, I have a buncha Music Videos I've downloaded off iTunes, is there any hope I can get these to play in XBMC? I don't have any iTunes music content, I installed this plugin and it seems to only import the music library. I'm guessing I'm out of luck when it comes to video content, but I thought I'd ask before I just gave up.
find quote
Kaistar Offline
Junior Member
Posts: 4
Joined: Sep 2008
Reputation: 0
Post: #9
Guys, thanks for the wonderful assistance =)

Sadly the plugin doesn't show at all in XBMC. Gahhh. To quote Peter Griffin's iPod commercial, "I Just Don't Get It" lol.

My plugin is saved here "C:\Program Files\XBMC\plugins\music" is it correct?
find quote
tslayer Offline
Team-XBMC Developer
Posts: 3,557
Joined: Oct 2003
Reputation: 12
Post: #10
You need to "Add Source" and then choose the plugin.

42.7% of all statistics are made up on the spot

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.
find quote
d4rk Offline
Team-XBMC Developer
Posts: 499
Joined: May 2007
Reputation: 1
Location: Albuquerque
Post: #11
quebert Wrote:I have a question, I have a buncha Music Videos I've downloaded off iTunes, is there any hope I can get these to play in XBMC? I don't have any iTunes music content, I installed this plugin and it seems to only import the music library. I'm guessing I'm out of luck when it comes to video content, but I thought I'd ask before I just gave up.

Currently there isn't much hope if your music videos contain DRM. You should be able to see them under "iTunes->Playlists->Music Videos" after you have imported your iTunes library in XBMC. However whether or not they will play depends on whether they have DRM. You can always strip the files of DRM using some of the tools available online.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


[Image: badge.gif]
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #12
d4rk Wrote:
quebert Wrote:I have a question, I have a buncha Music Videos I've downloaded off iTunes, is there any hope I can get these to play in XBMC? I don't have any iTunes music content, I installed this plugin and it seems to only import the music library. I'm guessing I'm out of luck when it comes to video content, but I thought I'd ask before I just gave up.

Currently there isn't much hope if your music videos contain DRM. You should be able to see them under "iTunes->Playlists->Music Videos" after you have imported your iTunes library in XBMC. However whether or not they will play depends on whether they have DRM. You can always strip the files of DRM using some of the tools available online.
http://en.wikipedia.org/wiki/FairPlay#Ci...g_FairPlay

Also checkout doubleTwist software (which is not listed in that wikipedia article):
http://en.wikipedia.org/wiki/DoubleTwist
http://www.doubletwist.com
Quote:DoubleTwist is offering two software products: one that would let other companies sell FairPlay-protected songs that play on the iPod, and another that would let competing hardware devices play FairPlay content.

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.
find quote
Newtie Offline
Junior Member
Posts: 7
Joined: Sep 2008
Reputation: 0
Post: #13
I've tried to use the iTunes plugin with the Windows port of XBMC as described in this thread, I think that it installed properly in the plugins directory of the XBMC install & I pointed it to the iTunes library XML file correctly in default.py, but it doesn't start as it should in the Music Plugins menu. Instead it terminates instantly & I get this error message in the scripts debug log;

Code:
-->Python Interpreter Initialized<--
Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\plugins\music\iTunes\default.py", line 32, in ? from itunes_parser import *
File "C:\Program Files (x86)\XBMC\plugins\music\iTunes\itunes_parser.py", line 19, in ? from sqlite3 import dbapi2 as sqlite
ImportError: No module named sqlite3

It seems I'm missing a module or library, causing the plugin to crash out?
find quote
Newtie Offline
Junior Member
Posts: 7
Joined: Sep 2008
Reputation: 0
Post: #14
Fixed my own problem, the platform path in default.py just has to be changed to point to win32 to pick up the right libraries also, like so;

From
Code:
platform = "OS X"

To
Code:
platform = "win32"
find quote
d4rk Offline
Team-XBMC Developer
Posts: 499
Joined: May 2007
Reputation: 1
Location: Albuquerque
Post: #15
Thanks for catching that bug, I'll update the plugins so they do proper auto detection of the platform.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


[Image: badge.gif]
find quote
Post Reply