Random Etc. Notes to self. Work, play, and the rest.

Joined Up Thinking

Please can I twin my del.icio.us account with my last.fm account and keep a record of the things I stream with the del.icio.us mp3 widget?

Whilst you're implementing that for me, can you do the same thing for myspace bands, purevolume bands and so on?

Could this be done with a Greasemonkey script or a Firefox extension?


4 Comments

It doesn’t seem like it would be very easy to do this, due to the fact that del.icio.us (and myspace, at least) both use a Flash widget to play the music - this pretty much cuts out any Greasemonkey or Javascript intervention, unfortunately. If anyone else has any ideas on how to get around this, I’m interested.

Posted by John Resig on 14 December 2005 @ 5pm

I think you’re right. It would take some cooperation on the part of the player developers (not out of the question for del.icio.us, but I suspect impossible for myspace et al), or some kind of hack to find out what the Flash plug-in is doing.I wonder if Firefox extensions can have access to mouse events before the Flash plug-in does…

Posted by Tom Carden on 14 December 2005 @ 5pm

How about using GM to replace all the Flash player widgets with “play” links - clicking the link both submits to last.fm and pulls in the real Flash widget.That’s the easy bit, anyway. The hard bit is working out what info to send to last.fm.

Posted by Yoz on 4 January 2006 @ 9am

Sounds like a plan.For myspace, it could make use of ” REL=”nofollow”>this hack.What Audioscrobbler wants is here and it’s very stringent - it certainly implies they aren’t interested in streamed listens, but it also has restrictions on the duration a song is listened to, and the length of that song, and what to do if the user skips around the song. Tricky!Getting artist and track for the big sites like myspace wouldn’t be too tough. For Joe User’s arbitrary del.icio.us link, it’s harder (can Flash read ID3 tags?).Ah well.

Posted by Tom Carden on 4 January 2006 @ 10am