Page 1 of 1

Who can stream iTunes playlists

Posted: Sat Mar 26, 2011 2:58 pm
by Henni100
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

Re: Who can stream iTunes playlists

Posted: Sat Mar 26, 2011 7:12 pm
by phibertron
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

Re: Who can stream iTunes playlists

Posted: Sat Mar 26, 2011 8:06 pm
by Henni100
yes, of course it's there

Re: Who can stream iTunes playlists

Posted: Sat Mar 26, 2011 8:20 pm
by phibertron
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

Re: Who can stream iTunes playlists

Posted: Sun Mar 27, 2011 11:57 pm
by phibertron
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

Re: Who can stream iTunes playlists

Posted: Thu Dec 01, 2011 3:58 pm
by Jeeosch
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