iTunes Playlists to Xml - version 1.5.1 released

This application has since been updated. Read about the current version of iTunes Playlists to Xml.

Version 1.5.2.1 is available for download, which fixes an issue with version 1.5.2. Thanks to Pierre for bringing this to my attention.

Version 1.5.2 is available for download, which adds the -output argument.

Version 1.5.1 of iTunes Playlists to Xml is now available for download.

Download iTunes Playlists to Xml 1.5.1.

Installing and more information

If you’re new to iTunes Playlists to Xml, I’ve created a ‘product page’ for iTunes Playlists to Xml with all the information needed to get started.

Upgrading

To upgrade from any version of 1.4 or 1.5 you simply need to replace the iTunesPlaylistsToXml.exe file with the one in the above archive. You should not need to update your configuration.

To upgrade from version 1.3 or earlier, extract the contents of the zip replacing everything but the iTunesPlaylistsToXml.exe.config file; when you start the application after upgrading the configuration file should be automatically upgraded with all new settings. If you get a configuration error, then replace this file with the new version. Remember to update your name in the Settings.

Changes from version 1.5

Version 1.5.1 of iTunes Playlists to Xml adds the ability to use command-line arguments when starting the application. The following arguments can be used:

  • -connect
    • Will automatically connect to iTunes when the program starts.
  • -source:x or -source:“x”
    • Will automatically attempt to select the source with a name of x after connecting to iTunes.
  • -playlist:x or -playlist:“x”
    • Will automatically attempt to select the playlist with a name of x after connecting to iTunes.
    • -source is required if using -playlist.
  • -output:x or -output:“x”
    • Will check the defined output items, comma-delimited, by default after startup.
    • Requires version 1.5.2 or later.
  • -save
    • Will automatically save any generated playlist to Xml, once it is generated.
  • -exit
    • Will automatically exit the program after saving a playlist.
    • Both -connect and -save are required when using -exit.
    • If there is a problem saving the playlist to a file, the program will not automatically exit.

For example, running the following from the command line will connect to iTunes immediately, select the James Skemp’s 80 gig source and My Top Rated playlist.

iTunesPlaylistsToXml.exe -connect -source:“James Skemp’s 80 gig” -playlist:“My Top Rated”

The following will do the same as above as well as save the playlist and exit immediately.

iTunesPlaylistsToXml.exe -connect -source:“James Skemp’s 80 gig” -playlist:“My Top Rated” -save -exit

Features for future releases

A future release will allow you to change the elements that are output by default, as well as set these via the command line.

Additionally I’ll be adding the ability to change how the output files are named (amount of flexibility to be determined), and where they are saved.

Suggestions

As always, comments and suggestions are appreciated.

Special thanks to Pierre for his feedback, which has directly resulted in this new release.