[Playlist] XSPFResolver.com update
Paul Lamere
Paul.Lamere at sun.com
Thu Jan 4 13:27:33 UTC 2007
Hey all:
I had a few cycles to devote to the XSPF Playlist resolver so I've added
the ability to resolve an XSPF playlist against the napster catalog.
This lets you do things like take a musicmobs playlist or a last.fm
playlist and turn it into a napster playlist. Since napster has a '5
free plays for each song' usage policy, this lets you audition a
playlist even if you are not a napster subscriber. For instance I can
take my 'recent plays' last.fm xspf:
http://ws.audioscrobbler.com/1.0/user/lamere/recenttracks.xspf
and turn it into a napster playlist that looks like this:
http://play.napster.com/tracks/15895354,15895355,15895351,12633973,13800259,13800258,10149120,12000806
Tossing this URL into my browser starts up the napster flash player and
starts playing the songs.
This is pretty neat with the various musicmobs and last.fm playlists out
there. For instance, yesterday I spent the day listening to the 'top 50
indie' songs at last fm:
http://ws.audioscrobbler.com/1.0/tag/indie/toptracks.xspf:
http://play.napster.com/tracks/15967737,15504076,13889504,15504079,15967730,15967725,13935986,13324156,16662362,16351030,15967736,12989377,16038903,15504082,15114400,12954258,15504075,15967739,15967738,15820158,15917510,16038905,13324155,15697361,16514279,13324157,15967744,18153984,13813141,14145220,16351039,16038907,12024903,14173375,16476023,13889509,14145219,17831057,15607284,13324154,15967742,16351037,14183123,16351031,16512075,10013017,15967776,15973032,13889501,13889513,12906103,15504084,18153860,15820115,13324154,13324153,13889514,15504077,12933311,12954257,16351041,14173380,14128268,15967741,12945312,14183129,17830874,17409132,15503652,15504081,15967743,14173374,15504083,13268663,13997889,15010184,15913261,16038910,13889510,15967740,13324159,16253681
Check it out at XspfResolver.com
Some caveats:
The resolver is quite slow right now. To resolve each track, the
resolver makes multiple calls to MusicBrainz and Napster so it can take
a couple of seconds per song to resolve. We do cache things so over
time, with use, the resolving should get a bit quicker.
Also, resolving to Napster is not a perfect process. Napster doesn't
have all the songs in the world, and the name resolution is not always
correct (especially for names with non-english characters or
punctuation). Still, it is not too bad ... for the 100 song last.fm
indie playlist we found 82 of 100, and for the metal playlist we find 83
of 100 tracks.
Also, note that MusicBrainz changed out they deal with fuzzy searches,
so the resolver doesn't fix up spelling errors and inconsistencies as
well as it used to. I'm hoping to fix this soon.
Thanks much
Paul
More information about the Playlist
mailing list