Greasemonkey : Landmark Tracks – Last.Fm

Just came across a Greasemonkey script for Last.Fm which allows you to work out your Landmark scrobbled tracks.

I must say, the whole Greasemonkey thing is relatively new to me – I’ve known about it and what it does etc for quite a while, however I’d not had chance to use it really! Since switching over to Mozilla’s Firefox as my main internet browser the other year (and considering moving over to Flock this year), I’ve been meaning to get more involved in it really, though I’ll have to be content with using other people’s published scripts for the time being as I am useless at writing in JavaScript myself – though I may give Platypus a try!

Greasemonkey’s Wiki gives a little more information on how Greasemonkey works and how to locate/install published scripts – usually they’re posted on http://userscripts.org -however you really should check the coding of any script before you download/install it!

Greasemonkey’s support website, Greasespot, also has plenty of information and support along with the all important link to the Greasemonkey add-in that you need to be able to use it on your open-source browser.

It’s also worth noting that on UserScripts there is an ‘Install’ button on the ‘About’ page for the script you’re looking at, which saves you from having to save the script down as a .user.jss file and re-load it into the Script Manager (which probably won’t allow the script to work properly either!).

Back to Landmark Tracks (follow the link for the script) – this script is basically a look-up table/what I’d term a ‘return script’ that can show you the artist and song that appears at any given number in your scrobbled song database.

It’s probably easier if I show you my landmark tracks below to give you a better idea of what I mean:

Play #1 was Back Again by Boy Kill Boy on 9 Feb 12:54am
Play #50 was Vogue by Madonna on 9 Feb 7:50pm
Play #100 was What a Girl Wants by Christina Aguilera on 10 Feb 6:52pm
Play #500 was Wow by Kylie Minogue on 28 Feb 11:56pm
Play #1000 was Erika – I Dont Know by Erika on 23 Mar 9:34pm
Play #1500 was Somebody’s Eyes by Footloose – Soundtrack on 11 May 2:13pm
Play #2000 was Time  by Therese on 25 Jun 11:29pm
Play #2500 was Alright  by Red Carpet on 3 Aug 11:55am
Play #3000 was Matchstick Men & Matchstick Cats and Dogs by Houghton Weavers on 20 Sep 1:44pm
Play #3434 was I’m Like A Bird by Nelly Furtado on 19 Dec 12:09am

Basically, through the Greasemonkey menu (on Firefox this is accessed via: Tools ->Greasemonkey->User Script Commands) I just gave the script a starting point of track zero and let it work it all out from there. I specified the play numbers that I was interested in and the script returned the result to me as BBCode so that I could insert them into my Last.Fm page.  By using BBCode, I could keep the nifty Last.Fm links to the artist/song pages as appropriate, however I could easily have just taken the text as it was and posted the text without any linking etc – as I have done above. My Last.Fm page shows the links with the BBCode/linking activated where available.

I’ll apologise right now for the output of my own Landmark Tracks – I wish that I’d listened to some more memorable tracks now!! The stats certainly seem to show some of my more eccentric musical tastes – oops!

In celebration of my belated installation of Greasemonkey and all of the HTML page customisation that I am now going to be able to do, I thought I’d post a clip of perhaps the most eccentric of my Landmarks, which would probably be play #3000 – The Houghton Weavers with Matchstick Men & Matchstick Cats and Dogs (in fairness, they were a band I saw when I was little and lived in a small village, AND L.S. Lowry is my absolute favourite artist!!).

Enjoy! :oP

Advertisements

About Gari

Thirty-Two year old northern lad; living out in the Peak District and rediscovering life after having had a brain tumour.

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s