iTunes plugin in XBMC for Windows?

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
d4rk Offline
Team-XBMC Developer
Posts: 500
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,595
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: 500
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
Newtie Offline
Junior Member
Posts: 7
Joined: Sep 2008
Reputation: 0
Post: #16
Strangely, the iTunes library seems to import perfectly using this plug-in under Windows but trying to play any song from the library doesn't work for me. Trying gets a "playlist playback aborted, too many consequtive failed items" error. Could it be to do with a difference in how OSX & Windows treat directory paths maybe?
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #17
Are they songs purchased on iTunes Store? If so then they way protected by DRM (Digital Rights Management) and will not play in anything other than iTunes and Apple iPod/iPhone hardware, see: http://en.wikipedia.org/wiki/FairPlay

If not then please provide a debug log from XBMC, see:
http://wiki.xbmc.org/index.php?title=HOW...Bug_Report

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
SkeezerJ Offline
Junior Member
Posts: 23
Joined: Jun 2008
Reputation: -10
Post: #18
Quote:Strangely, the iTunes library seems to import perfectly using this plug-in under Windows but trying to play any song from the library doesn't work for me. Trying gets a "playlist playback aborted, too many consequtive failed items" error. Could it be to do with a difference in how OSX & Windows treat directory paths maybe?
I'm getting the same exact message. My songs are not protected by DRM. I've posted my debug log. Any help would be awesome!
http://pastebin.ca/1212946
find quote
Newtie Offline
Junior Member
Posts: 7
Joined: Sep 2008
Reputation: 0
Post: #19
My audio files are also straight MP3s, no DRM. From that log, it looks like the codec isn't initialising, so it skips to the next item, encounters the same problem & keeps skipping down the playlist.

Code:
14:17:33 T:5160 M:1172377600   DEBUG: CPlayerCoreFactor::GetPlayers(/C:/Users/SkeezerJ/Desktop/Music/Nas - Hip hop is dead/10-nas_-_hold_down_the_block-ysp.mp3)
14:17:33 T:5160 M:1171668992   ERROR: CAudioDecoder: Unable to Init Codec while loading file /C:/Users/SkeezerJ/Desktop/Music/Nas - Hip hop is dead/10-nas_-_hold_down_the_block-ysp.mp3
14:17:33 T:5160 M:1172377600   ERROR: Playlist Player: skipping unplayable item: 47, path [/C:/Users/SkeezerJ/Desktop/Music/Nas - Hip hop is dead/10-nas_-_hold_down_the_block-ysp.mp3]

Should that leading slash be there on the path to the audio file?
find quote
WiSo Offline
Team-XBMC Developer
Posts: 2,481
Joined: Oct 2003
Reputation: 0
Location: Germany
Post: #20
Code:
#
14:17:33 T:5160 M:1172406272   ERROR: Playlist Player: skipping unplayable item: 1, path [/C:/Users/SkeezerJ/Desktop/Music/Top 500 Rock And Roll Songs/001 - Led Zeppelin - Stairway To Heaven.mp3]
it looks like the plugin assumes every path started with a "/" which isn't the case on windows and therefore the file isn't found.

@d4rk: Could this be the problem?

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