Holy crap. That Swimmers album is better than I’d expected — is it too early to start nominating candidates for Album of the Summer? The last few years’ poor, belated crops of AoTSes makes me think that it’d best to get way out ahead of this thing. Anyway, you can listen to the whole album over at their website. I particularly like “We Love To Build” and “St. Cecilia”.
Relatedly, thanks to their use of the XSPF player the following super-nerdy* command is possible. I normally wouldn’t post it, but I think it’s the first time I ever actually got sed to do what I wanted.
wget -q -O - http://theswimmers.com/player/playlist.xspf | sed -e '/annotation/d' -e '/playlist/d' -e '/track/d' -e '/encoding/d' -e 's/<\/*location>//g' | xargs wget
A similar technique should be possible with the Hype Machine, but their failure to use line breaks in their XSPF files makes the regex composition a bit harder, so I haven’t bothered to figure it out yet.
* Admittedly, it’s not even close to being as nerdy as this, which is awesome (via Miller‘s del.icio.us feed).
You could also do “xsltproc xspf2m3u.xsl -” in place of the sed command. That XSLT file is at http://gonze.com/xspf/xspf2m3u.xsl .
Oooh! That’s much nicer. Thanks, Lucas!
(by the way, I’m still working on the XSPF player buffering issue. I had been waylaid by my hesitancy to recompile Apache. But I’ve just found sloppy, which I think will be sufficient for helping me test the fix.)
Hey, sloppy is a good find. First time I’ve seen something like that…