Sonos Python 3 Beta

Posted on
Tue Aug 22, 2023 2:26 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Python 3 Beta

Is it possible for you to try it and see if it did?

It would help to understand if it is a Python 2 > Python 3 conversion issue or something new. :)


Seems to be roughly the same with the P2 version - certainly the Group Coordinator field is left empty where a player is not the Group Coordinator, and the ZoneGroupID field also seems to be populated a bit at random.

Posted on
Sun Sep 10, 2023 4:36 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Python 3 Beta

Hi - was wondering if there was any update on the player states not updating. As I say, I think it was probably a legacy plugin issue so appreciate it may be hard to fix.

Posted on
Mon Sep 11, 2023 12:01 pm
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

Londonmark wrote:
Hi - was wondering if there was any update on the player states not updating. As I say, I think it was probably a legacy plugin issue so appreciate it may be hard to fix.

I am afraid not at the moment but I will try and look at it in due course (no estimate of when yet). I don't use Sonos myself (other than to test the plugin), which also puts the priority slightly lower.

I am having to focus on converting some of my plugins to Python 3; which I need to do for the next Indigo release.
.

Posted on
Mon Sep 11, 2023 12:39 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Python 3 Beta

Jon - really no problem at all. Great if you manage to look at it at some stage, but also understand if you never get round to it. Life...

Posted on
Tue Oct 03, 2023 4:14 pm
mvignola29 offline
Posts: 56
Joined: Sep 26, 2015

Re: Sonos Python 3 Beta

I used the Sonos plugin with five Sonos controllers and the plugin is very useful in managing these controllers. It is very disappointing that with the new version of Indigo all is lost, will there at some point have a plugin that wirks

Posted on
Tue Oct 03, 2023 5:02 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Python 3 Beta

The beta version referred to here works with the latest Indigo release. It’s been upgraded to Python 3.

Posted on
Tue Oct 03, 2023 6:20 pm
jay (support) offline
Site Admin
User avatar
Posts: 18255
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Sonos Python 3 Beta

An update to the Sonos plugin has been added in the plugin store.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Oct 04, 2023 6:15 am
ryanbuckner offline
Posts: 1081
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Sonos Python 3 Beta

received the following error on upgrade:

Code: Select all
Sonos Error                     SiriusXM Response: <Response [503]> [Reason: Service Unavailable]

Content: b'<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=4&xinfo=8-8343049-0%200NNN%20RT%281696421662167%200%29%20q%280%20-1%20-1%200%29%20r%280%20-1%29%20b6%20U24&incident_id=1351000940040104988-46594343641225096&edet=30&cinfo=ffffffff&rpinfo=0&mth=POST" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 1351000940040104988-46594343641225096</iframe></body></html>'

   Sonos Error                     [Wed Oct  4 08:13:27 2023] SiriusXM SessionID communications error: mismatched tag: line 1, column 356

Posted on
Wed Oct 04, 2023 6:32 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

ryanbuckner wrote:
received the following error on upgrade:

Code: Select all
Sonos Error                     SiriusXM Response: <Response [503]> [Reason: Service Unavailable]

Content: b'<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=4&xinfo=8-8343049-0%200NNN%20RT%281696421662167%200%29%20q%280%20-1%20-1%200%29%20r%280%20-1%29%20b6%20U24&incident_id=1351000940040104988-46594343641225096&edet=30&cinfo=ffffffff&rpinfo=0&mth=POST" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 1351000940040104988-46594343641225096</iframe></body></html>'

   Sonos Error                     [Wed Oct  4 08:13:27 2023] SiriusXM SessionID communications error: mismatched tag: line 1, column 356

Yes, this is a known problem that is outstanding at the moment; see announcement: Sonos (Python 3) Version 2023.0.27 in Indigo Plugin Store

I will be attempting to fix it but the issue I have is that being UK based, I am unable to get access to SiriusXM for testing purposes, so it is taking a bit longer to resolve than I would like. :(

Posted on
Wed Oct 04, 2023 7:20 am
ryanbuckner offline
Posts: 1081
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Sonos Python 3 Beta

Thanks Jon!

Posted on
Wed Oct 04, 2023 8:58 am
mvignola29 offline
Posts: 56
Joined: Sep 26, 2015

Re: Sonos Python 3 Beta

I followed the instruction for installing beta version and received the following message in the terminal after installing the info state in the update process

WARNING: Target directory /Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.ssi.indigoplugin.Sonos.python_packages/lxml already exists. Specify --upgrade to force replacement.
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip' command.

I am not familiar in doing any programming. The Beta Sonos still not work,

Appreciate any help in resolving this

Michael

Posted on
Wed Oct 04, 2023 9:14 am
mvignola29 offline
Posts: 56
Joined: Sep 26, 2015

Re: Sonos Python 3 Beta

After running the updated plugin I get the following message in the indigo log

Oct 4, 2023 at 11:07:58 AM
Upgrading plugin Sonos to newer version 2023.0.27 (previous version moved to trash)
Error ReloadPlugin() caught exception: FileIOError -- rename/move of file or folder failed -- check file/folder permissions


Not sure what to do next, any help is appreciated

Posted on
Wed Oct 04, 2023 9:15 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

mvignola29 wrote:
... I am not familiar in doing any programming. The Beta Sonos still not work, ...

What version of Indigo are you running?

When you started the plugin, did it ask you to update lxml?

In terminal, you can run the command to update pip i.e.
Code: Select all
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip

It will avoid the error message coming out next time.

When you say The Beta Sonos still not work, what do you mean by that.

What messages appeared in the log. I need more information to help you. :)

Posted on
Wed Oct 04, 2023 9:18 am
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Sonos Python 3 Beta

I got the new version mostly working. One thing to point out that may trip up others is that I seemed to need to install Xcode command line tools - I didn't see that in the documentation (maybe I missed it in a post).

Also, I can't seem to get the pandora authentication to work (even after installing the pandora python libraries)... is that still a known issue?

Posted on
Wed Oct 04, 2023 9:34 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Sonos Python 3 Beta

rapamatic wrote:
I got the new version mostly working. One thing to point out that may trip up others is that I seemed to need to install Xcode command line tools - I didn't see that in the documentation (maybe I missed it in a post).

No that isn't documented. What was the prompt to ask you to install Xcode command line tools?

I already have them installed which is probably why I have missed it being a requirement.

Are you on an Intel or Apple Silicon Mac?

rapamatic wrote:
Also, I can't seem to get the pandora authentication to work (even after installing the pandora python libraries)... is that still a known issue?

I think Pandora should work. I users have reported it working OK.
What message are you getting from the plugin?

Page 10 of 15 1 ... 7, 8, 9, 10, 11, 12, 13 ... 15

Who is online

Users browsing this forum: No registered users and 3 guests