Page 2 of 2

Re: SiriusXM SessionID communications error

PostPosted: Tue Jul 13, 2021 7:25 pm
by wideglidejrp
It worked! Many thanks.

Re: SiriusXM SessionID communications error

PostPosted: Wed Jul 14, 2021 2:43 am
by Seeker
thanks for looking into this. it seems to have loaded, no errors on reload. but see error at bottom when i run an action group to play a sirius channel.


Jul 14, 2021 at 3:40:27 AM
Reloading plugin "Sonos 1.1.17b"
Stopping plugin "Sonos 1.1.17b" (pid 21177)
Sonos SoCo Reactor Landing...
Stopped plugin "Sonos 1.1.17b"
Starting plugin "Sonos 1.1.17b" (pid 21227)
Started plugin "Sonos 1.1.17b"
Sonos Loaded Sonos Favorites... [19]
Sonos Loaded Playlists... [3]
Sonos Loaded RadioTime Favorite Stations... [1]
Sonos: Initialized: SXM_Bolt_On V1.2.A
Sonos Serving HTTP Streamer on 192.168.1.101 [0.0.0.0], port 8888
Sonos_Dev 'NoneType' object has no attribute 'get' <== This was the error that was returned from the init_chan_array / test_the_water / sxm_tester function call
Sonos <== This is the username from the init_chan_array function that was used to login to SiriusXM
Sonos [Wed Jul 14 03:40:35 2021] Processed plugin preferences.
Sonos Loaded Apple Voices.. [48]
Sonos SSDP Listener Started...
Sonos Adding ZonePlayer: 192.168.1.177, RINCON_000E58C9806C01400, Sonos_BATH_Play1
Sonos Adding ZonePlayer: 192.168.1.176, RINCON_000E588D1EC601400, Sonos_BED_Play5
Sonos Adding ZonePlayer: 192.168.1.175, RINCON_000E585DF31401400, Sonos_GAR_Play5
Sonos Adding ZonePlayer: 192.168.1.132, RINCON_949F3E6C158701400, Sonos_LIVING_Playbar
Sonos Adding ZonePlayer: 192.168.1.174, RINCON_000E58885B7801400, Sonos_office_play5
Sonos SoCo Reactor Ignition...
Sonos LineIn: RINCON_000E58885B7801400, Audio Component:Office
Sonos LineIn: RINCON_000E585DF31401400, Audio Component:Garage
Sonos LineIn: RINCON_000E588D1EC601400, Audio Component:Bedroom
Sonos Loaded Playlists... [3]





Jul 14, 2021 at 3:41:02 AM
Action Group Sonos octane living room
[color=#FF0000]Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 171, in actionZP_SonosFavorites
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Sonos.indigoPlugin 03-26-45-706.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1850, in actionDirect
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Sonos.indigoPlugin 03-26-45-706.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1756, in actionDirect
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Sonos.indigoPlugin 03-26-45-706.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2616, in get_chan_parms_3_way
NameError: global name 'channels' is not defined
[/color]

Re: SiriusXM SessionID communications error

PostPosted: Wed Jul 14, 2021 7:32 am
by AutoMation01
That is strange. This part of the initialization log suggests there was an error during the initial plugin loading while processing your credentials.

Sonos Serving HTTP Streamer on 192.168.1.101 [0.0.0.0], port 8888
Sonos_Dev 'NoneType' object has no attribute 'get' <== This was the error that was returned from the init_chan_array / test_the_water / sxm_tester function call
Sonos <== This is the username from the init_chan_array function that was used to login to SiriusXM
Sonos [Wed Jul 14 03:40:35 2021] Processed plugin preferences.

Upon successful login and authentication you should see your userid between the "Sonos" and the "<==" on that 3rd line ..... since this is blank in your log, you did not get logged in.

Can you validate that your credentials are working on the official online player? Are you in he US region? Do you have your credentials setup in the plugin?

If the initialization does not log you in, then you will get the errors you posted in red, as the channels list is never loaded to the array because of the login issue.

I just reloaded the plugin this morning and verified that the authentication and logins are working this morning (with my id and password).

Re: SiriusXM SessionID communications error

PostPosted: Wed Jul 14, 2021 9:00 am
by Seeker
Holy cow! it works!

I did re-enter my pw in the plugin. Not sure when I last updated that, but I did have to change it recently.

thank you so much for this work. Seems great and fully functional again.

Re: SiriusXM SessionID communications error

PostPosted: Sun Jun 19, 2022 12:26 pm
by AutoMation01
Looks like AWS cookies changed during the last SiriusXM maintenance cycle, this impacted the user authentication for the plugin. :roll:

Plugin Version: "Sonos 1.1.17c" may help to work around the AWS load balancer changes (at least until the next maintenance cycle changes the cookies again).......

https://www.dropbox.com/s/ohohjua4wn67v ... n.zip?dl=0

Re: SiriusXM SessionID communications error

PostPosted: Sun Jun 19, 2022 12:57 pm
by wideglidejrp
I cannot the new version to work. I get "“Sonos.indigoPlugin” cannot be opened because the developer cannot be verified." The dialog will not let me Cancel.

Re: SiriusXM SessionID communications error

PostPosted: Sun Jun 19, 2022 3:34 pm
by AutoMation01
It sounds like perhaps you are just hitting the standard OS X developer authentication dialogs? There are many instructions posted on the web how to override MAC OS X developer dialogs.
here is an example ......

https://www.lifewire.com/fix-developer- ... or-5183898

At the end of the day, you should just need to be the owner of the plugin file and can manually copy it to the Indigo Plugin library for it to work.

Re: SiriusXM SessionID communications error

PostPosted: Fri Jun 24, 2022 6:43 pm
by Seeker
AutoMation01 wrote:
Looks like AWS cookies changed during the last SiriusXM maintenance cycle, this impacted the user authentication for the plugin. :roll:

Plugin Version: "Sonos 1.1.17c" may help to work around the AWS load balancer changes (at least until the next maintenance cycle changes the cookies again).......

https://www.dropbox.com/s/ohohjua4wn67v ... n.zip?dl=0



thanks, this fixed mine.