Who can stream iTunes playlists

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
Henni100
Posts:18
Joined:Mon Mar 16, 2009 11:17 pm
AV Hardware:Soundbridge , Archos 605 Wifi, Buffalo LinkStation live v3, Buffalo LinkTheater
Who can stream iTunes playlists

Post by Henni100 » Sat Mar 26, 2011 2:58 pm

Hello,

is there anybody who has the itunes library xml file on a NAS and twonky installed on a NAS is able to read the playlists out of this xml file?

using 4.4.19 twonky reads the itunes xml file and shares all the playlists

using 6.x this does not work

one difference in the twonkymediaserver.ini is that in 4.4 the path is entered /music/itunes/xml-file
and in v6 you have to enter the full path. But neither entering /mnt/disk1/share/music/itunes/itunes library.xml nor /music/itunes/itunes library.xml work

Any suggestions from someone who can confirm that twonky can read the itunes xml file would be fine

Thanks
Henni

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Who can stream iTunes playlists

Post by phibertron » Sat Mar 26, 2011 7:12 pm

I dont use itunes for playlists, or use itunes if I can help it
Nor do I have nas, i use a whs box
But...

In the twonky install folder
there should be a plugins folder
In that folder do you see the following?

- iTunes-import
- itunes-import.plugin

The itunes-import.plugin is a text file with the following contents

#iTunes library import plugin
#(c) 2006 by PacketVideo
launch on change:$ituneslib
exec: itunes-import -dbdir $dbdir -playlist-dir $dbdir -itunes-lib !ituneslib -base $contentbase
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Henni100
Posts:18
Joined:Mon Mar 16, 2009 11:17 pm
AV Hardware:Soundbridge , Archos 605 Wifi, Buffalo LinkStation live v3, Buffalo LinkTheater

Re: Who can stream iTunes playlists

Post by Henni100 » Sat Mar 26, 2011 8:06 pm

yes, of course it's there

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Who can stream iTunes playlists

Post by phibertron » Sat Mar 26, 2011 8:20 pm

Well since it is there. which by the way, isnt always the case

When you went to 6.x
Did you change or look at the contentbase= setting?

As I understand it this is prepended to the path's used by twonky
which might be why path for ituneslib=
isnt working as expected
just a guess though
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Who can stream iTunes playlists

Post by phibertron » Sun Mar 27, 2011 11:57 pm

I was looking something up in the readme

and saw this for 6.0.32

-fixed: iTunes’ playlist import fails on Linux version of TwonkyServer

But I have heard bad things going on with 6.0.32 at present
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Jeeosch
Posts:16
Joined:Wed Dec 29, 2010 11:08 pm
AV Hardware:Synology DS210j
Telekom Media Receiver 300
iPhone 4
iPhone 3G

Re: Who can stream iTunes playlists

Post by Jeeosch » Thu Dec 01, 2011 3:58 pm

Hi there!

I'm having a Synology DS201j NAS with the latest firmware (3.2-1955) and Twonky 6.0.37 installed and running smoothly, so far. So no real problems here!

The only thing, which is quite a bit annoying, is the iTunes import plugin, as I can't seem to get it working, regardless, what I do ... (in fact, since I started using Twonky!) ...

The iTunes directory including all media and the library is in the directory /volume1/Media/iTunes on my NAS.
The media directory is /volume1/Media/iTunes/iTunes Media.
The path of the iTunes Library is consequently /volume1/Media/iTunes/iTunes Library.xml,
the respective server parameter ituneslib has been set to exactly this path.

When I take a look into the iTunes xml file I see that the paths are relative to the root of my host computer, where the NAS directory (shared drive) is mounted as a network drive, that is something like file://localhost/Volumes/Media/iTunes/iTunes%20Media/<Artist Name>/<Album Name>/Track.mp3.

I have written a little shell script which creates from this xml file another one by simply replacing the paths as above with paths like file://localhost/volume1/Media/iTunes/iTunes%20Media/<Artist Name>/<Album Name>/Track.mp3, which are relative to the root of my NAS.

But neither the original XML file nor the "tailor made" one is working.
So for the moment I gave up ... :(

What am I doing wrong here?
What do I need to do to get this plugin working (that is to import my playlists)??

Many thanks in advance for clear and complete instructions on this!
I think, I am not the only one benefitting from this ... :wink:

Best regards,


Jeeosch

Locked