A month or so ago I hacked the last.fm for wordpress plugin to allow for integration with Spotify. The basic  idea was that the plugin would pull in your recently played tracks and then allow users to open those tracks directly within Spotify by clicking on a green note.

A had a spare two hours this morning so decided to see what I could make in that time.

This new mash-up is a little different. You give it your Last.fm username and it will go and find your top artists. It then uses this to find the top tags for each of those artists. It then orders the tags by the amount of times they occur across your top artists and displays the result to you in a slider window. The images are pulled from Last.fm and they are for the top artist for each tag. The image resolution is based on the quality of the image on the Last.fm servers.

I used the Last.fm PHP API available from here as the basis for the mashup. There were quite a few sample scripts and I hacked a some of these together to get the functionality required. The slider part came from here.

You can view it by heading here and putting in your username. Please be patient as it takes a while to load everything in. Update! This keeps crashing my server so I will post a video of a locally run version.

I can’t wait for Spotify to release their own API as there would be the possibility to generate Spotify playlist based on your ‘loved’ tracks on Last.fm for example.


SPEAK / ADD YOUR COMMENT
Comments are moderated.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Additional comments powered by BackType

Return to Top

Another Last.fm/Spotify mashup

FRESH / LATEST POSTS

TAG / CLOUD

1.1.4 addons AFC air API Apple Apps coda component dock firefox flash flcodr GMap google Google Maps growl hacks ie interface iPhone last.fm leopard locator Mac macbook Mac Info mashup microsoft minority report motion detection Music new OS os x PHP plugin Random Info SDK spotify stacks Uncategorized vista web 2.0 web design windows