Parsing PList files in ActionScript
October 10, 2009
The PList format is not one of my favorites. I’ve complained about it before, but Apple continues to use it for its iTunes library information, so I continue to parse it.
actionscript
var parser:PListParser = new PListParser();
var pList:Object = parser.parsePList(xml);
playlists = pList.Playlists.filter(filterPlaylists);
The last line accesses the Playlist array (dynamically created when the PList is parsed), and filters it using the specified filterPlaylists method, returning a filtered list of the playlists from the original XML file.
iTunes Export 1.6 Released
October 4, 2009
A new version of my iTunes Export utility is available.
iTunes Export exports your iTunes playlists as M3U, WPL, ZPL, and now also MPL files, allowing you to setup playlists in iTunes and use them with other software or devices.
This release adds several fixes and enhancements that have build up in the last few months. They include:
Improved the logic for music copying. It can now handle duplicate songs and an arbitrary number of songs in a playlist (removed the 999 song limit) and handles duplicate files gracefully. Thanks to Simon Hyde for submitting the patch.
Java Email Server 2.0 Beta 2 Released
September 26, 2009
Java Email Server (JES) is an open source email server (SMTP/POP3) written in Java.
Eating Crow
September 9, 2009
After holding out for years, and picking the Palm Pre as my ’next phone’, it is time for me to Eat Crow.
Timeless Songs
August 30, 2009
There are great songs, and then there are timeless songs. Songs that are appreciated generation after generation, and throughout the different stages on one’s life.
Building Flex Applications with Gradle
August 26, 2009
Build Tools
August 20, 2009
Deceptive Marketing
August 12, 2009
There is a great post on 37 Signals about ‘Little Green Lies’. I’ve looked at the exact same label (‘98% naturally derived ingredients’) and thought the same thing.
What does that even mean? EVERYTHING is ‘derived’ from something natural at some level. The sad part is that marketing like this works.
John Hughes
August 7, 2009
With John Hughes’ passing yesterday, it is appropriate to pay tribute to his life and work.
Mobile Web
August 3, 2009
Fred Wilson has an interesting post about the ‘Mobile Web’, and how it is different than the world wide web we know. In short, the mobile web is highly fragmented. Read the article.