Last.fm Chart Changes

For several years I’ve written and maintained a GreaseMonkey script which adds chart change information to your music charts. The biggest problem with a greasemonkey script is that you don’t control the page you’re modifying. Last week, for the umpteenth time, Last.fm changed their page again and broke the script.

Fortunately, I’ve fixed the script and have taken the opportunity to improve the webservice that it uses. This means that the charts should be more cachable to improve performance for you and reducing bandwidth usage for me. I’ve also added support for weekly charts so they’ll now have chart change information, as they used to before Last.fm’s most recent redesign removed it.

Finally, because my host Linode.com recently increased the disk space on all their plans by a third, I’m able to increase the length of time all charts are stored for 30 to 120. Unfortunately as I had to delete all the chart change information you won’t see a change initially but gradually you’ll see your charts are available for longer and longer.

You can download the updated script here.

Enjoy!

Want to read more like this? Follow me with your favourite feed reader (e.g. Feedly), or subscribe to my SubStack newsletter.

Comments

This is a great script, ideal for lastfm nerds like me. Is there anyway to increase the number of positions which show changes i.e top 100, top 200 etc or are you limited to the top 50.

Bill

09 Jun 2009

No, unfortunately Last.fm's webservices only return the top 50.

Andrew Wilkinson

10 Jun 2009

I would really love to be able to see chart changes for only the last 30 days, instead of the last four months. It's really too big a time period to be looking at, for me. Is there any possibility of adding this functionality?

Laura M.

09 Jul 2009