Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Last.fm - My Top Tracks

Shows any tracks on Last.fm artist pages that you've listened to by that artist.

*This works with the latest (July 2007) Last.fm update.*

Shows any tracks on Last.fm artist pages that you've listened to by that artist.

You should see something like this on an artist's page, in between 2 weeks and 6 months graphs:
!http://img231.imageshack.us/img231/9012/lfscreenshotlj1.png!

It is currently limited to your top 500 tracks.

For any queries, comments or suggestions, just "send me a message via Last.fm":http://www.last.fm/inbox/composepm.php?to=Isca_Riot&submit=Compose... Or, alternatively, leave a comment below.

Note: "alternative version":http://userscripts.org/scripts/show/4813 by "Joel Armstrong":http://userscripts.org/people/8177, if you prefer.






Jul 25, 2006
Tarkus User

Thanks for the update!

 
Jul 25, 2006
sordo Script's author

If you've installed the update for the new Last.fm site, you may have to download and install it again if you want it to work for artists with spaces (or other symbols) in their names. I've just updated it so it works with all artists.

 
Mar 7, 2006
Josh Powell User

Works great here! Pretty cool idea. One of seven Last.fm userscripts I have installed.. ;)

Josh

 
Feb 24, 2006
closedmouth User

Doesn't seem to be working at the moment

 
Feb 18, 2006
BooooooooB Scriptwright

A great script and for the most part works extremely well. :D It does seem to have some difficulty with tracks that have special characters in their names, however, and displays them in URL encoded format rather than text.

 
Jan 29, 2006
closedmouth User

Works perfectly. Nicely done.

 
Jan 24, 2006
sordo Script's author

Try installing the new version. Someone else had the same problem of it not working at all in the previous version, but it works for them now... Unless that person is you. ;)

 
Jan 18, 2006
Winky User

I have the same problem Orrible Cabbage had, I'm using GM 0.6.4 on FF 1.5 and it's not working at all :/
I've reinstalled it and evrything, but no luck.
Very good idea thought, I hope to be able to use it soon.

 
Dec 30, 2005
Arvid Scriptwright

Works great. Thanks!

 
Dec 30, 2005
random_monkey Scriptwright

This is a pretty neat script! I wish it did it for more though, like you say yourself :D

 
Dec 14, 2005
Orrible Cabbage User

It works now. Dunno what the problem was, probably just some glitch at my end because I reinstalled and it works.

I really like it, good job.

 
Dec 14, 2005
martin 1 User

no it works :D
Thank You very much!

 
Dec 13, 2005
M Lenzen Scriptwright

Cool, works for me.

 
Dec 11, 2005
closedmouth User

I got a "Username not found" error in the JavaScript Console.

 
Dec 11, 2005
sordo Script's author

This is weird... It works for me (using FF 1.5 and GM 0.6.4), but no one else by the looks of it. I've even reinstalled it from this site and it goes okay.

I've added a debugging-like feature to it (make sure you reinstall the script from here to get the debugging thing), so if you click on Tools in Firefox and go to the Javascript Console a window should pop up. In that window, click the Messages button (ALT-M) and then Clear (ALT-C). Now go to an artists page in FF that you know has a song in your top 50 tracks. As that page is finishing loading, messages should appear showing the status of this GM script. Here is a list of the messages that could appear:

"Script execution begun...": The script actually fired on this page. If you do not see this, go Tools > Manage User Scripts and select Last.fm - My Top Tracks, and make sure the included page is http://www.last.fm/music/* and not http://www.last.fm/music/*/ (notice the end slash).

"Username found/not found.": It found the username within the HTML of the page. If not, it will exit the script.

"Artist name found/not found.": Same as username, but with artist's name.

"XML loaded successfully": The XML was loaded successfully.

"X tracks found in XML.": Shows how many tracks found in XML, should usually be 50.

"X tracks found by <artist>.": Shows how many of your top 50 tracks were by the current artist. It it is zero, the script will exit as there's no point to it - go to an artists page you listen to!

"'mychart' element found. Creating HTML...": This just makes sure that the HTML DOM worked so the script can insert the HTML. If not found, the script will exit.

"HTML created.": The HTML was created. You should see a "My Top Tracks" table below the journal entries about that artist. The script was successful.

So, if you script isn't working, could you please post where the script went wrong so I can fix it. Thank you. ;)</artist>

 
Dec 11, 2005
martin 1 User

Same problem here :(

 
Dec 10, 2005
Orrible Cabbage User

This sounds like a really good idea, and in fact I've wanted something like this for a while, but it doesn't seem to work. I'm using GM 0.6.4 and FF 1.5.

You could comment on this script if you were logged in.