[mythtv-users] Trouble building mythpandora

Justin Johnson justin.johnson3 at gmail.com
Fri Feb 3 13:58:04 UTC 2012


On Thu, Feb 2, 2012 at 6:51 PM, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> On 02/02/2012 06:28 PM, Adam Jimerson wrote:
>> I don't know if this is the best place to ask for help but I am trying to
>> build the mythpandora plugin from https://github.com/dougt/mythpandora to
>> use with my Myth 0.24.2 system.
>>
>> When I run make it errors with this following error:
>>
>> when I pass make ether "-std=c99" or "-std=gnu99" make complains about
>> invalid options.  Any suggestions I would like to get this plugin installed
>> for this box.

You can put -std=gnu99 at the beginning of CFLAGS in
mythpandora/Makefile after running qmake. Note that it gets
overwritten every time you run qmake.

>
> Yeah, don't even try.
>
> Pandora doesn't have an API allowing 3rd-party access to their system.
> Therefore, the internal protocol and API changes extremely frequently--4
> times since Nov 1, 2011.
>
> Because of that, the pianobar code ( http://6xq.net/projects/pianobar/ )
> is updated for each protocol/API change--basically, each of those
> releases shown under "old releases" was due to a change to Pandora's
> protocol/API that broke libpiano/pianobar.
>
> That means that for each update, mythpandora would have to be updated to
> pull in the new libpiano/libwaitress/libezxml code, then updated to work
> with the new code (and any required code changes due to protocol/API
> changes), then recompiled with the new code.  I'm /guessing/ this is why
> dougt seems to have abandoned the project--it hasn't been updated since
> Jan 3, 2011--that's 10 protocol/API changes ago.  Therefore, even if you
> get it to compile, it won't work.
>
> My recommendation is to use the official Pandora client for GNU/Linux,
> which can be downloaded from the pandora.com site once you sign in to
> your account with a Pandora One subscription.  Unfortunately, thanks to
> Adobe dropping support for AIR on GNU/Linux, you'll have to use the
> last-released version of AIR from
> http://kb2.adobe.com/cps/853/cpsid_85304.html --but it actually still
> works.  Alternatively, you could use pianobar or Pithos, instead.
>
> Oh, and if you use either pianobar or Pithos, please purchase a Pandora
> One subscription so that you're not stealing the service.  (As a paying
> subscriber, I will be very upset if people's stealing the service
> results in my favorite music service going out of business.  :)
>
> Mike

As Mike said, mythpandora is very much out of date. I've been trying
to keep up, but haven't had a working plugin for some time now. If you
want, I've put my own personal changes on git:
https://github.com/jjohns63/mythpandora. I last updated it on December
18 and couldn't get working audio, though it appears to be playing
something. At the very least, it's more up to date and you can see
some of the TLS changes that I made to try and match pianobar.

--
Justin Johnson


More information about the mythtv-users mailing list