Itunes Library Parser can parse the Itunes library, read the Tracks & Playlists as Java objects and thereby perform all sorts of operations on the files such as read itunes stored data about the tracks and playlists.
Sourceforge link: http://sourceforge.net/projects/ituneslibparser/
Integrated with Travis CI. Travis-CI