Pandora

Posted on
Sat Mar 07, 2015 1:14 pm
bgaiser7 offline

Re: Sonos

Howdy! I've used your plugin for quite a while. LOVE IT!

After the latest update, my Pandora Stations are not showing up in Indigo.

In fact, no matter if I enable or disable Pandora with correct or incorrect username... I get nothing in the log at all about Pandora.

Ideas?

Posted on
Sat Mar 21, 2015 10:14 am
hdfreak offline
Posts: 19
Joined: Jan 01, 2015

Pandora

I also can't get Pandora stations to come up any more. I'm still on 0.8.7. though.

Is it possible Pandora changed something?

Thanks,
Brian

Posted on
Sat Mar 21, 2015 11:37 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: Sonos

I'm seeing similar behavior with 0.8.9. Pandora stations either don;t show or if they do, the only show once; meaning the info for an artist doesn't change when the song changes.

Terry

Posted on
Tue Mar 24, 2015 12:32 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Pandora

I just posted an update (v0.8.10) that deals with the changes Pandora made to their website.

Posted on
Tue Mar 24, 2015 1:18 pm
SonosGuy offline
Posts: 23
Joined: Jul 14, 2013

Re: Pandora

There is no configuration option in the plugins menu of the most recent version. plugin just keeps restarting every 20 seconds.

Posted on
Tue Mar 24, 2015 1:22 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Pandora

Matt/Jay - This is probably due to my poor coding, but perhaps you can help:

I added a new item to the plugin configuration. Is there a way for users to get to save the new plugin configuration so the plugin no longer bombs out as it starts. As SonosGuy points out, it now will just continue to try to restart itself as it detects a bad configuration file.

Anything I can or should be doing? Thanks.

Posted on
Tue Mar 24, 2015 1:34 pm
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Pandora

This is the sort of thing I do (an example from my Squeezebox plugin):
Code: Select all
        if "debugDetailed" in valuesDict:
            squeezeboxGlobal['debug']['debugDetailed'] = valuesDict["debugDetailed"]
        else:
            squeezeboxGlobal['debug']['debugDetailed'] = False

So in this example, if "debugDetailed" was the new item (and not set-up) it would default to False.

Not sure if this is your issue though. :)

Posted on
Tue Mar 24, 2015 5:22 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Pandora

I do what John suggested, but use the python dict's get() method which has an optional argument for a default value if the key doesn't exist:

Code: Select all
squeezeboxGlobal['debug']['debugDetailed'] = valuesDict.get("debugDetailed", False)

Image

Posted on
Wed Mar 25, 2015 6:16 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Pandora

Thanks for the tips!

Posted on
Wed Mar 25, 2015 11:08 am
SonosGuy offline
Posts: 23
Joined: Jul 14, 2013

Re: Pandora

Current version has been updated and works! All good with Pandora!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 15 guests