MinimServer Forum
Idea: parsing iTunes Library.xml - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Idea: parsing iTunes Library.xml (/showthread.php?tid=3231)



Idea: parsing iTunes Library.xml - krutsch - 09-06-2016 04:40

Just a thought: why not consider parsing iTunes Library.xml?

So, I could use iTunes to create/manage playlists, download music, rip CDs, et al., and then sync/copy the whole thing to my NAS drive and make it all available to my UPnP/DLNA streamers?

Of course, you would need to fix-up the leading paths, et al., but it's all doable.

Thoughts?


RE: Idea: parsing iTunes Library.xml - simoncn - 09-06-2016 16:55

(09-06-2016 04:40)krutsch Wrote:  Just a thought: why not consider parsing iTunes Library.xml?

So, I could use iTunes to create/manage playlists, download music, rip CDs, et al., and then sync/copy the whole thing to my NAS drive and make it all available to my UPnP/DLNA streamers?

Of course, you would need to fix-up the leading paths, et al., but it's all doable.

Thoughts?

Thanks for this suggestion. This is beyond the scope of MinimServer and I don't have any plans to work on it.


RE: Idea: parsing iTunes Library.xml - Marantz - 20-06-2016 08:39

@krutsch: If you're running iTunes on OS X you can export your playlists via AppleScript. I also manage my entire Library with ~30.000 songs with iTunes. All my music is stored on an external HDD attached to an ODROID PC running Ubuntu.


RE: Idea: parsing iTunes Library.xml - krutsch - 05-07-2016 17:19

(20-06-2016 08:39)Marantz Wrote:  @krutsch: If you're running iTunes on OS X you can export your playlists via AppleScript. I also manage my entire Library with ~30.000 songs with iTunes. All my music is stored on an external HDD attached to an ODROID PC running Ubuntu.

Thanks for the reply. I do this today with a Mac OS app called: Playlist Export, available on the Mac OS App Store.


RE: Idea: parsing iTunes Library.xml - Manul - 12-08-2016 17:51

I've written a short Python script that parses the iTunes xml file, substitutes the path and outputs an m3u8 file for every playlist - if anybody's interested I can post that here. Together with rsyncing the actual Music folder this works well for making my iTunes library available through MinimServer.