Michael Krotscheck’s insights, ideas, and inspirations about web technology, life, and the kitchen sink.

Porting Pandora to the Desktop

May 3rd, 2008

Tags: , , , , ,

So there I was, hacking away at AIR, and my iPod runs out of batteries. I was in that rare coding zen where you really need the audio to lock you out from the rest of the world, so I was fairly annoyed that the random conversation here at Apropos suddenly started to interfere with my productivity. No worries though, I could always resort to Pandora, right?

Now, I’m not a big fan of Pandora. Don’t get me wrong, I love what they’re doing and have found some phenomenal music there, but the fact that I always have to keep a browser window open to make use of their service has kindof annoyed me, and now was no different. I could deal with it though for the sake of productivity…. until I realized that AIR came with its own embedded WebKit browser.

Two beers and some experimentation later (apparently Webkit doesn’t like running on a transparent window), I am now sitting on an application I shall dub “PandorAIR”, because it’s an AIR port of Pandora. There’s not much to it- there doesn’t have to be- but for what it’s worth it’s a clean little application that I’m fairly certain others would be interested in adopting. You will need to download and install the AIR runtime environment first, but once you’re done with that you’re golden. I’ll work on putting an Installer Badge here as soon as I have the time.

Note that during the install it’s going to complain at you twice: Once because this application isn’t digitally signed, and once because AIR requests unrestricted access to your desktop. To fix the former… well, if you have a spare THAWTE certificate lying around I’d be grateful: that will uniquely identify myself as the distributor. As for the latter, well, I’m afraid you’re just going to have to take my word that I’m not trying to do nefarious things to your desktop (given that my professional credibility hinges on it, that should be easy).

src ="http://www.practicalflash.com/AIR/Installers.html"
width="100%"
height="200" style="border: 0px none #000000">

Caveat: It’s a bit of a memory Hog- 60MB. Trying to figure out how to fix that.

12 Comments »

 

RSS feed

12 Comments »

Comment by Elliot on 2008-05-05 19:01:40

Very nice Mike! I was thinking about making one, but figured there had to be one out there by now. Little did I know a co-worker would make it!

HA! :)

 

Comment by keif on 2008-05-06 21:09:19

Mike – this is freaking awesome. I saw your mention on twitter, and as an avid user of pandora had to nab it!

 

Comment by Ryan Battles on 2008-05-16 08:12:27

Michael, this is amazing! I love the small, dedicated, and ad free window, as well as the release from the fear of browser crashing ending my tunes. I was initially excited to minimize it to my tray…but I’ll wait patiently for that fix :)

 

Comment by Ivan Kmecko on 2008-05-22 23:28:11

Mike,
Please explain to the rest of us how to install and use your application.
Thanks.
Ivan

 

Comment by Mark Freedman on 2008-05-23 21:12:24

Very, very cool, Mike. I’m assuming that because it’s mainly web-based, it’ll still work fairly well with any Pandora upgrades?

I’ve had no problem with it stopping on minimize on Windows. There was a short gap at first, but that’s it.

 

Comment by Ian Mikutel on 2008-05-28 16:46:23

Just found your app Googling “pandora AIR” and it works beautifully. Thanks for making this great app for AIR.

 

Comment by decaturcomp on 2008-06-08 14:28:20

Really nicely done, thanks.

 

Comment by Kevin N. on 2008-06-12 14:00:30

There is an official version of this that we use in the office all th time:

http://www.pandora.com/desktop

I have no idea if that is related to your work.

 

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.