itunes-library is a port of Drew Stephen's excellent Perl module, http://search.cpan.org/~dinomite/Mac-iTunes-Library.