And, as gilesc also points out, Pandora regularly changes their encryption keys, which makes maintaining this kind of software kind of obnoxious. (The solution to that problem, I think, is to make the software download and parse the .swf file on startup or just on failure to yank out those fresh encryption keys itself, but I never tried it.)
I just cringe a bit when I see these sorts of apps, not because I think they shouldn't exist (seriously, Pandora, just release a goddamn API), but because I'm just picturing the lawsuit hammer coming down on the well-intentioned developers who are just Pandora fans.
Regardless, I applaud PromyLOPh's work and am keeping my fingers crossed for his continued lack of legal fees.
[1]: https://github.com/PromyLOPh/pianobar/tree/master/src/libpia...
Pithos is a Gtk client that uses the core libraries from Pianobar to provide a very nice GUI client for Pandora that fully integrates with the latest Gnome/Ubuntu desktop. http://kevinmehall.net/p/pithos/
The second is a set of scripts that I wrote that build on top of the Pianobar client itself to implement media keys and notify-osd support for Ubuntu, although it is incomplete because I myself have switched to using Pithos instead. https://github.com/jreese/pianobar-python
I don't think it has to do with the stream. When an ad comes up it just fetches a new playlist.
I'm not sure what the official Pandora position regarding pianobar is, but I did hear from an employee that they have worked to disable it in the past.
I remember reading about it a year or so ago and being slightly skeeved out by the chmod and chown voodoo you had to do to install it. Skimming over the Homebrew install script seems like it does a lot of similar stuff, which seems strange for a package manager that claims isolated installation of packages in user-land.
And is it intended to completely replace MacPorts, or do they place nice together?