« Acoustipop experimentations Ha Ha Quotes »

My libre.fm experience

2009
11
May

So after much evangelizing, and giving up on procrastinating on it, I decided to try to set my profile up proper on libre.fm, the "free last.fm". The process would of course have to involve scraping my last.fm profile, as I'm not about to let 22,384 plays over 2 years just evaporate into the internet ether. So I set out to scrape my last.fm profile, import it into libre.fm, and start "gobbling" to libre.fm.

 

Gobbling, libre.fm's name for scrobbling, was simple enough. I use Songbird because of the cross-platform aspect (though I use iTunes for the iTunes U courses and some other podfetching) so I used this method, which involves installing a modified version of Songbird's last.fm plugin that scrobbles to libre.fm, and using the Last.fm Scrobbling Support plugin to scrobble to last.fm. Ok, that part is pretty much explained in libre.fm's wiki and straight forward, so got that out of the way easy enough.

 

Now comes the difficult part, scraping your profile and importing it into libre.fm.

So I download everything necessary and put it in a nice little folder:

lastscrapefolder.png

The command is fairly simple, you just run lastscrape.py adding after it your last.fm username and an output file, and your terminal starts working its magic like so:

lastscrape.png

Before importing to libre.fm, you might want to make certain you don't have any duplicate entries that might mess up the importing process. The wiki basically tells you the simplest way to do so, which involves using the awk and cat command available on most Linux/Unix systems, including OSX. So I run awk, file gets spit out with no duplicates, I run cat to make sure both my original last.fm profile scrape and the new no-duplicates one are the same, and they are.

lastscrape-nodupe.png

So I'm now a happy camper importing all my scrobbles to libre.fm:

importpy.png

Except...libre.fm is racist!!!!!11!one1!! It threw an error when trying to import a Howlin' Wolf track. Is it because he's black, libre.fm? More than likely it's because of all the commas and not having the appropriate play data...but still...very suspicious, libre.fm! ;)

error.png


Feed for this Entry

2 Responses to My libre.fm experience


About You

Email address is not published

Add to the Discussion