http://www.perlmonks.org?node_id=583700


in reply to iTunes lacking on CPAN...

Another idea would be to save yourself quite some work by using a service like last.fm.