Yesterday I started playing around with Last.fm (bit late maybe..) and tried out the Last.fm Mac application. It’s updating or scrobbling what I’m playing in iTunes to my account on Last.fm.
Now, there is a feature which imports your playing history from iTunes. After digging a bit, I followed a tip clearing my Listening Data. This, however, didn’t help.
After looking around in the application I found Diagnostics which allows you to view the log of the application. That made it all clear:
Could not open iTunes Library
"/Users/geert/Music/iTunes/iTunes Music Library.xml"
I’m storing my iTunes library on an external drive so I can move it around easily.
To make the Last.fm application import my history I just made (or recreated) the /Users/geert/Music/iTunes directory and copied over the iTunes Library XML file naming it iTunes Music Library.xml. Starting the Last.fm application again, it asked me if I would like to import the history data: that worked perfectly now! If it doesn’t work for you, check out the logs in the Diagnostics.
I’m not sure if you can scrobble the iTunes history without cleaning up your listening data first. I’ll leave that to the reader to find out.