What I did on my vacation from reality

Home About RTL8187B Laptop Cam Quotes Login

December 13, 2007

Fuck you, too, KFI

12:18 am — Misc

I used to listen to KFI all the time when I lived in Orange County. I’d leave it on 24/7, either using it for background noise while I worked on something, or listening to John and Ken and, uh, “relaxing”.

A while back, on the order of years, I bought a new laptop. The one I wrote the Sharp PC-MM10 Linux-Laptops page for, as a matter of fact. I was bored one day, and I realized I could stream KFI through the wireless net to the little thing. It was cool, and relatively painless.

Then the feed URL changed…

No big deal, go find the new one.

Then it changed again. This is getting mildly annoying.

And now, recently, it’s changed again, and the Javascript they’re using to power their site is so god damned convoluted and obfuscated.

Alright, fine, assholes. You want to make life hard on me, I’ll go listen to KPBS instead.

In closing, KPBS’s feed url is http://media01.kpbs.org/kpbs-fm, and KFI’s, right now, is
mms://a464.l1977112463.c19771.g.lm.akamaistream.net/D/464/19771/v0001/reflector:12463?auth=caEa4abaTdIaqbCc_bFckaRaxcgb7dUcRa1-bhyoOP-4q-RLYV5_5nrEIpp2DCnjyrzr
.




RSS feed | Trackback URI

4 Comments»

Hector —October 7, 2008 @ 12:16 am

Yes, this annoyed me as well. Especially when I want to listen to KFI on my ipod.

Anyways, I wrote a script to extract the auth code from kfi’s website, and generate a pls file that links to the clearchannel mms link (using the authcode).

Code:
http://home.ordorica.org:81/kfistream

pls file:
http://home.ordorica.org:81/kfi-640.pls

The code is pretty simple, and I’m sure somebody with better experience could reduce it to something even simpler. I don’t mind if you use the pls link. It updates every hour with a new auth code, though I’m pretty sure the auth code last longer than an hour.

If you do a google search for “kfi stream auth” you can find some more tidbits of info. Somebody even wrote a perl script to work with all of clearchannel.

    cuervo —October 7, 2008 @ 1:01 am

    I actually found a bash version and adapted it to my existing one.

      Hector —October 7, 2008 @ 1:22 am

      Whoa, nice script. You found that just now? Yeah, the magic powers of regexp in sed… my script basically does the same thing, but broken into several parts (i was working the problem out, and then I found google already had the answers).

      I’ll have to borrow yours and add a pls generator. I also need a quick way to convert kfi’s wm stream into mp3 for my ipod/other devices that don’t do wma. Right now i’m using Foobar2000 for the conversion, and icecast as the radio server. Perhaps you have a solution for that?

        cuervo —October 7, 2008 @ 1:34 am

        Nope, had it for a while, just never updated the post. Shame on me.

        Anyway, sorry, you’re on your own for that one. I could throw out a few educated guesses, but until I’m forced to do it myself, they’d just be guesses.

         
       
     
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.