A last.fm scrobbler for popular websites, such as YouTube, MySpace, and Lala.
Chrome Scrobbler was created for people who listen to music online through their browser, and would like to keep an updated playback history using last.fm's scrobbling service.
The current version of Chrome Scrobbler only supports YouTube videos, but it is designed to be easily extensible to other websites as long as it is possible to retrieve information about the artist, track title, and song duration. Since YouTube itself does not provide any song specific information, the extension relies on naming conventions in the title of the video. For now, all videos will have to use the following naming convention in order for tracks to be valid: "[Artist] - [Track Title]", and neither artist name or track title can contain hyphens ( - ). If there is a need for it, I could try to add other naming conventions (such as "[Artist] : [Track Title]"), but this is currently low on the to-do list, as I will focus on adding more services for the time being. Chrome Scrobbler uses last.fm's "track.getInfo" to check the validity of the song before submitting it, so it doesn't simply scrobble all videos played on YouTube. Tracks are submitted when the URL is changed/updated in the omnibox or the tab is closed, and the extension works great with YouTube quicklists and playlists, as long as the video titles are properly formatted.
If you have any requests or questions about the extension, please let me know. Full source code can be found at the projects website, hosted on Google Code.
NOTE: Don't forget to enter your last.fm username and password in the options page, or obviously it won't work. Passwords are never stored or transmitted as plaintext, but rather uses MD5 (http://en.wikipedia.org/wiki/MD5).