Error when trying to play certain Sonos favorites

Posted on
Sun May 13, 2018 3:54 pm
nanobots offline
Posts: 43
Joined: Apr 28, 2015

Error when trying to play certain Sonos favorites

Hello, I'm getting an error when I try to play certain Sonos Favorite playlists. The examples seem to all be Spotify playlists, however it seems some Spotify playlists work while others do not. I'm on what I believe is the latest version of the Sonos plugin (v1.0.12). This is the basic error I'm receiving (and below I'll post the error with debugging settings on).
Code: Select all
   Sonos Error                     UPNP Error: Invalid Args
   Sonos Error                     Offending Command -> zoneIP: 10.0.10.9, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
   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 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1747, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1693, in actionDirect
TypeError: cannot concatenate 'str' and 'NoneType' objects

Any ideas on what would could be causing the error?

Thanks!


Debug error:

Code: Select all
 Action Group                    Home Mode (All On) copy
   Schedule                        _delayed_action_3
   Sonos Debug                     zoneIP: 10.0.10.9, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: SetAVTransportURI
   Sonos Debug                     <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><ns0:SetAVTransportURI xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><CurrentURI>x-rincon-queue:RINCON_B8E93721629801400#0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData></ns0:SetAVTransportURI></s:Body></s:Envelope>
   Sonos Debug                     <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:SetAVTransportURIResponse></s:Body></s:Envelope>
   Sonos Debug                     zoneIP: 10.0.10.9, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
   Sonos Debug                     [Sun May 13 14:53:09 2018] [Sonos Kitchen] [SoCo AVTransport] {u'current_crossfade_mode': '0', u'av_transport_uri': 'x-rincon-queue:RINCON_B8E93721629801400#0', u'next_track_uri': '', u'current_section': '0', u'enqueued_transport_uri': '', u'current_track_duration': '0:00:00', u'current_track_meta_data': '', u'playback_storage_medium': 'NETWORK', u'transport_state': 'STOPPED', u'current_play_mode': 'SHUFFLE_NOREPEAT', u'number_of_tracks': '0', u'current_transport_actions': 'Set', u'current_track': '0', u'current_valid_play_modes': 'SHUFFLE,REPEAT,REPEATONE,CROSSFADE', u'enqueued_transport_uri_meta_data': '', u'current_track_uri': '', u'next_track_meta_data': '', u'av_transport_uri_meta_data': ''}
   Sonos Debug                     zoneIP: 10.0.10.9, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupAttributes
   Sonos Error                     UPNP Error: Invalid Args
   Sonos Error                     Offending Command -> zoneIP: 10.0.10.9, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
   Sonos Debug                     Error Response: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>402</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
   Sonos Debug                     <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><ns0:AddURIToQueue xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><EnqueuedURI>x-rincon-cpcontainer:1006206cspotify%3auser%3apinke01%3aplaylist%3a56BTQwi8IRs2xUQCW3CuMX?sid=12&flags=8300&sn=5</EnqueuedURI><EnqueuedURIMetaData>&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;1006206cspotify%3auser%3apinke01%3aplaylist%3a56BTQwi8IRs2xUQCW3CuMX&quot; parentID=&quot;00020000playlist:/r/deephouse&quot; restricted=&quot;true&quot;&gt;&lt;dc:title&gt;New hot post in /r/deephouse&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.playlistContainer&lt;/upnp:class&gt;&lt;desc id=&quot;cdudn&quot; nameSpace=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot;&gt;SA_RINCON3079_X_#Svc3079-0-Token&lt;/desc&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</EnqueuedURIMetaData><DesiredFirstTrackNumberEnqueued>0</DesiredFirstTrackNumberEnqueued><EnqueueAsNext>1</EnqueueAsNext></ns0:AddURIToQueue></s:Body></s:Envelope>
   Sonos Debug                     <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>402</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
   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 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1747, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1693, in actionDirect
TypeError: cannot concatenate 'str' and 'NoneType' objects

   Sonos Debug                     <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><ns0:GetZoneGroupAttributes xmlns:ns0="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><InstanceID>0</InstanceID></ns0:GetZoneGroupAttributes></s:Body></s:Envelope>
   Sonos Debug                     <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupAttributesResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><CurrentZoneGroupName>Kitchen + 4</CurrentZoneGroupName><CurrentZoneGroupID>RINCON_B8E93721629801400:2175</CurrentZoneGroupID><CurrentZonePlayerUUIDsInGroup>RINCON_B8E93721629801400,RINCON_B8E937B6AEB001400,RINCON_7828CA50449A01400,RINCON_949F3E1A2E3001400,RINCON_7828CA252C6001400</CurrentZonePlayerUUIDsInGroup><CurrentMuseHouseholdId>Sonos_Mwlt3Qcari3tXbxPOB7zzGFlRz.k5NpGjTJABzpMIil386r</CurrentMuseHouseholdId></u:GetZoneGroupAttributesResponse></s:Body></s:Envelope>
   Sonos Debug                         Updating Device: Sonos Kitchen, State: ZoneGroupName, Value: Kitchen + 4
   Sonos Debug                         Updating Device: Sonos Kitchen, State: ZoneGroupID, Value: RINCON_B8E93721629801400:2175
   Sonos Debug                         Updating Device: Sonos Kitchen, State: ZonePlayerUUIDsInGroup, Value: RINCON_B8E93721629801400,RINCON_B8E937B6AEB001400,RINCON_7828CA50449A01400,RINCON_949F3E1A2E3001400,RINCON_7828CA252C6001400
   Sonos Debug                         Updating Device: Sonos Kitchen, State: GROUP_Coordinator, Value: true
   Sonos Debug                         Updating Device: Sonos Kitchen, State: bootseq, Value: 163
   Sonos Debug                         Updating Device: Sonos Kitchen, State: ZP_STATE, Value: STOPPED
   Sonos Debug                     Replicate state to slave ZonePlayers...



Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests