|
Happy Birthday, MinimServer!
|
|
04-02-2013, 00:46
Post: #14
|
|||
|
|||
RE: Happy Birthday, MinimServer!
(03-02-2013 21:20)simoncn Wrote: I'm impressed that you could parse the "iTunes Music Library.xml" file and export .m3u playlists in only 30 lines of code. Nothing to be impressed about, the Python standard library includes a very good tool to handle plist files which are basically dictionary type data structures encoded in xml, so the translation into a Python dictionary comes for free. From there on it's just looking up the filenames for every track of a playlist. A quick Google search turned up two Java libraries for handling plist files: http://code.google.com/p/plist/ (MIT license) and http://sourceforge.net/projects/plist/ (LGPL). Exporting from iTunes would require a lot of manual interventions every time a playlist is changed (including iTunes' 'smart playlists'), so I went for the scripted approach to get all playlists in one go. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Happy Birthday, MinimServer! - simoncn - 26-01-2013, 11:21
RE: Happy Birthday, MinimServer! - mpj645 - 28-01-2013, 02:10
RE: Happy Birthday, MinimServer! - wappinghigh - 28-01-2013, 10:52
RE: Happy Birthday, MinimServer! - simoncn - 28-01-2013, 11:09
RE: Happy Birthday, MinimServer! - wappinghigh - 28-01-2013, 12:23
RE: Happy Birthday, MinimServer! - simoncn - 28-01-2013, 13:40
RE: Happy Birthday, MinimServer! - magister - 29-01-2013, 02:15
RE: Happy Birthday, MinimServer! - longz - 28-01-2013, 14:39
RE: Happy Birthday, MinimServer! - wappinghigh - 28-01-2013, 20:41
RE: Happy Birthday, MinimServer! - wappinghigh - 29-01-2013, 06:34
RE: Happy Birthday, MinimServer! - simoncn - 29-01-2013, 09:13
RE: Happy Birthday, MinimServer! - Manul - 03-02-2013, 20:37
RE: Happy Birthday, MinimServer! - simoncn - 03-02-2013, 21:20
RE: Happy Birthday, MinimServer! - Manul - 04-02-2013 00:46
RE: Happy Birthday, MinimServer! - Mike48 - 07-02-2013, 05:06
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



