Grabthar is a really simple proxy that relays song play messages between the client and the last.fm servers. All that this piece does is look for last.fm protocol messages and then post them to last.fm. In between, the protocol is parsed and a copy is made to a MySQL database.
Musika Interface
The Musika interface is simply a list of last played tracks and then tagged tracks.
Each user can tag a song only once – the last tagged tracks are displayed on the right. Tagging is driven by Ajax through the Swajax library, xmlhttprequest does a search for the user’s tagged song and then populates the ajax form with their saved tag data, which is then submitted through xmlhttprequest.
An autocomplete javascript library helps pick tags, based on commonly used tags for an artist.
Upcoming Features (feel free to edit this list to add requested features)
Javascript playlist script – display your playlist with album info on your own page.