kevinmehall/pithos — pull request #3 by glennimoss (2012-06-06 21:15:28+00:00)
Title: Pandora One support

I added a new preference to indicate the user is a Pandora One subscriber, and the connect as the desktop client. I also tweaked the audio format setting into an "Audio Quality" setting as the JSON response has format-independent mappings for high, medium and low quality streams.

I used the [Crypto module](http://www.pycrypto.org) because I had the encrypt/decrypt keys but didn't really want to get in to computing the P and S blocks like the current code uses. (What's the reasoning for doing it that way?) Feel free to fix that so it uses the custom code already in place.