Unable to do Partymode when all players are individual









up vote
0
down vote

favorite












I am unable to get my app to do partymode when all players are individual (not grouped)



When there is a power outage (or surge) all players (26) disconnect from their groups and become individual players. My app checks for this and is set to automatically restore the groups (which for some reason only works when everything is in partymode)
However getting the players in partymode does not work using Player = SoCo('192.168.75.101") Player.partymode()
i get an error



Traceback (most recent call last):
File "C:SonosTest.py", line 13, in
Player.partymode()
File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 855, in partymode
[zone.join(self) for zone in self.visible_zones if zone is not self]
File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 838, in visible_zones
self._parse_zone_group_state()
File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 753, in _parse_zone_group_state
cache_timeout=5)['ZoneGroupState']
File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 593, in GetZoneGroupState
return self.send_command('GetZoneGroupState', *args, **kwargs)
File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 357, in send_command
self.handle_upnp_error(response.text)
File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 417, in handle_upnp_error
error_xml=xml_error
soco.exceptions.SoCoUPnPException: UPnP Error 501 received: Action Failed from 192.168.75.101



I have tried this with all my players, they all give the same error....
I have tried finding a solution online, however it feels like i'm the only one with this issue.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I am unable to get my app to do partymode when all players are individual (not grouped)



    When there is a power outage (or surge) all players (26) disconnect from their groups and become individual players. My app checks for this and is set to automatically restore the groups (which for some reason only works when everything is in partymode)
    However getting the players in partymode does not work using Player = SoCo('192.168.75.101") Player.partymode()
    i get an error



    Traceback (most recent call last):
    File "C:SonosTest.py", line 13, in
    Player.partymode()
    File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 855, in partymode
    [zone.join(self) for zone in self.visible_zones if zone is not self]
    File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 838, in visible_zones
    self._parse_zone_group_state()
    File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 753, in _parse_zone_group_state
    cache_timeout=5)['ZoneGroupState']
    File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 593, in GetZoneGroupState
    return self.send_command('GetZoneGroupState', *args, **kwargs)
    File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 357, in send_command
    self.handle_upnp_error(response.text)
    File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 417, in handle_upnp_error
    error_xml=xml_error
    soco.exceptions.SoCoUPnPException: UPnP Error 501 received: Action Failed from 192.168.75.101



    I have tried this with all my players, they all give the same error....
    I have tried finding a solution online, however it feels like i'm the only one with this issue.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am unable to get my app to do partymode when all players are individual (not grouped)



      When there is a power outage (or surge) all players (26) disconnect from their groups and become individual players. My app checks for this and is set to automatically restore the groups (which for some reason only works when everything is in partymode)
      However getting the players in partymode does not work using Player = SoCo('192.168.75.101") Player.partymode()
      i get an error



      Traceback (most recent call last):
      File "C:SonosTest.py", line 13, in
      Player.partymode()
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 855, in partymode
      [zone.join(self) for zone in self.visible_zones if zone is not self]
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 838, in visible_zones
      self._parse_zone_group_state()
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 753, in _parse_zone_group_state
      cache_timeout=5)['ZoneGroupState']
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 593, in GetZoneGroupState
      return self.send_command('GetZoneGroupState', *args, **kwargs)
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 357, in send_command
      self.handle_upnp_error(response.text)
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 417, in handle_upnp_error
      error_xml=xml_error
      soco.exceptions.SoCoUPnPException: UPnP Error 501 received: Action Failed from 192.168.75.101



      I have tried this with all my players, they all give the same error....
      I have tried finding a solution online, however it feels like i'm the only one with this issue.










      share|improve this question













      I am unable to get my app to do partymode when all players are individual (not grouped)



      When there is a power outage (or surge) all players (26) disconnect from their groups and become individual players. My app checks for this and is set to automatically restore the groups (which for some reason only works when everything is in partymode)
      However getting the players in partymode does not work using Player = SoCo('192.168.75.101") Player.partymode()
      i get an error



      Traceback (most recent call last):
      File "C:SonosTest.py", line 13, in
      Player.partymode()
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 855, in partymode
      [zone.join(self) for zone in self.visible_zones if zone is not self]
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 838, in visible_zones
      self._parse_zone_group_state()
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessococore.py", line 753, in _parse_zone_group_state
      cache_timeout=5)['ZoneGroupState']
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 593, in GetZoneGroupState
      return self.send_command('GetZoneGroupState', *args, **kwargs)
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 357, in send_command
      self.handle_upnp_error(response.text)
      File "C:UsersokotokscomputersAppDataRoamingPythonPython36site-packagessocoservices.py", line 417, in handle_upnp_error
      error_xml=xml_error
      soco.exceptions.SoCoUPnPException: UPnP Error 501 received: Action Failed from 192.168.75.101



      I have tried this with all my players, they all give the same error....
      I have tried finding a solution online, however it feels like i'm the only one with this issue.







      python python-3.x sonos






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 at 23:19









      SparkBarisart

      13




      13



























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244370%2funable-to-do-partymode-when-all-players-are-individual%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244370%2funable-to-do-partymode-when-all-players-are-individual%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          How to read a connectionString WITH PROVIDER in .NET Core?

          Node.js Script on GitHub Pages or Amazon S3

          Museum of Modern and Contemporary Art of Trento and Rovereto