iTunes plugin in XBMC for Windows?

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
djfulfill Offline
Junior Member
Posts: 2
Joined: Jul 2009
Reputation: 0
Post: #31
my error is "playlist playback aborted, too many consequtive failed items"

you said this was the fix

def _cleanup_filename(self, filename):
if filename.startswith("file://localhost/"):
return unquote(filename[17:])
else:
return unquote(filename)

I'm using notepad++

where can i add this to the default.py

i already changed the os to Win32, and the filepath of itunes library .xml

Thanks!!
find quote
djfulfill Offline
Junior Member
Posts: 2
Joined: Jul 2009
Reputation: 0
Post: #32
browncaravan Wrote:Hello.

Can someone help me please?

I downloaded the itunes plugin from itunes.zip from the xbmc addons bit from google code and have followed the instructions on here about changing the files to work in Windows. I thought i'd followed them correctly but when I run the plug in, a box flashes up very quickly saying, iTunes 100% - loading directories - retrieved 0 items.

The only bit I didn't understand in the instructions here was about getting the word filename to start exactly above return. As far as i'm aware I havent done anything I shouldnt.

Any ideas?

Thanks
Chris

use notepad++ on line 26 you should have something like this
26 platform = "win32" # FIXME: add support for Windows

Make sure your path is corrct on line 55

55 def get_itunes_library():
filename = 'C:\\Documents and Settings\\DjFulfill\\My Documents\\My Music\\iTunes\\iTunes Music Library.xml'
return filename

still can't get it to work.. waiting fore newtieConfused

with this setup you can at least view your itunes library.. but still can't play
find quote
jonathanxmbc Offline
Junior Member
Posts: 17
Joined: Jun 2010
Reputation: 0
Post: #33
Thanks for the info in this thread; I was able to get the iTunes plugin working with XBMC 9.11, iTunes 9.1.1.11, Windows7.

I know I am replying to an old thread, but I just went through this with positive results and wanted to share.

1: Install plugin

2: Edit default.py
Line 26: platform = "WIN32"
Line 56: filename = "C:/Users/USERNAME/Music/iTunes/iTunes Music Library.xml"
[Your path will vary.]

3: Edit itunesparser.py
Line 44: return unquote(filename[17:])

4: Import, Browse, Play

5: Feel awesome
find quote
antirisk Offline
Junior Member
Posts: 2
Joined: Jul 2010
Reputation: 0
Post: #34
Thanks Jonathan for the confirmation.

Does anyone know how to get this to work if my iTunes library in on the network (another desktop that does not have XBMC)?

I have a little laptop that I have XBMC running in my living room, but all my media lives on the Desktop.

Thanks.

ps. Awesome forum! XBMC Rules!


jonathanXBMC Wrote:Thanks for the info in this thread; I was able to get the iTunes plugin working with XBMC 9.11, iTunes 9.1.1.11, Windows7.

I know I am replying to an old thread, but I just went through this with positive results and wanted to share.

1: Install plugin

2: Edit default.py
Line 26: platform = "WIN32"
Line 56: filename = "C:/Users/USERNAME/Music/iTunes/iTunes Music Library.xml"
[Your path will vary.]

3: Edit itunesparser.py
Line 44: return unquote(filename[17:])

4: Import, Browse, Play

5: Feel awesome
find quote
RobS Offline
Junior Member
Posts: 26
Joined: Jan 2010
Reputation: 0
Location: Austin
Post: #35
working like a champ after following the directions in the thread!

Only issue is that all of the file lists seem to be in non alphabetized order. Now way to sort it. Is this a bug or am I missing something obvious?
find quote
jsnkid Offline
Member
Posts: 60
Joined: Feb 2009
Reputation: 0
Post: #36
Any Way to get this working with Dharma and Itunes 10??
find quote
stefan1983 Offline
Junior Member
Posts: 17
Joined: Jul 2010
Reputation: 0
Post: #37
jsnkid Wrote:Any Way to get this working with Dharma and Itunes 10??

I am also interested in this.

I have my whole iTunes Database on my Windows Home Server, where also all Movies for XBMC are located. This way it would be really nice to play some tracks, since the are all taged with logos etc.

Thanks
find quote
tocheeba Offline
Member
Posts: 74
Joined: Sep 2010
Reputation: 0
Post: #38
I'm interested in this as well. I'd prefer not to have to rearrange all my music folders, ID3 tags, folder.jpg art, etc to get this to work. My music looks great in iTunes, and I'd love to have XBMC use it.
find quote
rduggu Offline
Junior Member
Posts: 23
Joined: Oct 2010
Reputation: 0
Post: #39
Me too any help getting my itunes into xbmc would be great
find quote
MontyPython Offline
Junior Member
Posts: 5
Joined: Jan 2011
Reputation: 0
Post: #40
Hi there,

I tried to use the PlugIn with XBMC 10 and iTunes 10 on my computer (Win7/32bit, german, XBMC language german). What I have done:
  • extract the files to %APPDATA%\XBMC\plugins\music\ (after installation of XBMC 10 there was no directory "plugins"??? So I created it. Is this right??)
  • not quiet sure, so also extracted the files to C:\Program files\XBMC\plugins\music\iTunes\ (after installation of XBMC 10 there also was no directory "plugins"??? So I created it. Is this right??)
  • edit the files like described
  • Start XBMC
  • navigate to MUSIC
  • select "add source" (not "select add on"!)
  • looking for an entry like "iTunes", but there was nothing like this. :-(

Is there a wrong step in my installation or something missing or is XBMC 10 simply not supported by this plugin??

ThanX,
:-) Monty
(This post was last modified: 2011-01-27 13:25 by MontyPython.)
find quote