Saturday, October 27, 2007

Playing WFUV on a Squeezebox

WFUV is a fantastic station my friend recently pointed me to (I was instantly sold when I heard they had a whole day devoted to Neil Young in honor of his upcoming album). I streamed their high quality stream from work via iTunes with no problem.

Then, I was disappointed when the friggin' stream wouldn't play on my squeezebox at home that evening. I found a crappy quality stream on shoutcast that worked, but at 56 kbps, it was hardly worth listening to.

Today I figured it out with curl:

$ curl http://www.wfuv.org/audio/fuv247_128k.pls
[playlist]
NumberOfEntries=1
File1=http://wfuv.ic.llnwd.net/stream/wfuv_allmusic2
Title1=FUV 24/7 All Music Channel, 128k

It turns out the .pls link returns extra information that the squeezebox can't parse, but the direct link 'http://wfuv.ic.llnwd.net/stream/wfuv_allmusic2' works great.