Joab Jackson's Tech Shed


about


Scribe:

chrono

blog

Time

science!

book musings

gov

'punk

missle defense

jams

antiques

cultcha blog


Construct:

scripts & programs

on the town

snaps


Self:

creds (PDF)

key

missive


follow Joab_Jackson at http://twitter.com

(photo by J. Jackson)

Program: MusicParser

Version: 0.1

What it does: This Perl program scans an iTunes music library XML file and returns to the screen an HTML listing of the last date each song was played, in chronological order (see sample). You can set the specific years you want it to list.

Because this is an early version of the program, setup takes a bit of work. Copy the iTunes XML Library file called "iTunes Music Library.xml" into the folder with this program, rename it to something that doesn't have any spaces (i.e. "iTunes_Music_Library.xml"). The program will ask you for the name of the file when you start it from the command line ("./MusicParser.pl with execute permissions enabled). Also, this early version will only write to screen, so to write to a file (In Linux) redirect the output to the name of an html file (i.e. "./MusicParser.pl > MyMusic". Future versions will bring the polish, I promise.

Download

View the source code






Home

Google