| Author |
Message |
|
nlagaros
Joined: Dec 20, 2010 Posts: 402
|
 Re: Sonos - The Beginning
Terry - as far as testing goes, since I've made so many changes and have touched just about every action with the last release, I'd appreciate it if you could broadly test as many as the device actions as possible. Also, there is logic to update states depending on the source, so it would be helpful if you could keep an eye on that as you are streaming different sources.
Thanks!
|
| Sat May 12, 2012 12:01 pm |
|
 |
|
wiery
Joined: Jun 02, 2008 Posts: 76 Location: Ireland
|
 Re: Sonos - The Beginning
Ive installed 0.3.5 and i get the below error, i'm assuming due to the irish fada on the name of RTE
RadioTime Favorite Station: R:0/0/0, RTÉ Radio 1, x-sonosapi-stream:s15066?sid=254&flags=32
Traceback (most recent call last): File "plugin.py", line 46, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 74, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 155, in checkDirect File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 166, in checkOneDirect File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 216, in parseMediaInfo File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 601, in updateStateOnServer <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
Sonos Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds Error device state key Q_Repeat not defined (ignoring update request) Error device state key Q_Shuffle not defined (ignoring update request) Error device state key Q_Crossfade not defined (ignoring update request) Sonos Error Error in plugin execution runConcurrentThread:
|
| Sat May 12, 2012 12:43 pm |
|
 |
|
terrydew
Joined: Jun 10, 2011 Posts: 260
|
 Re: Sonos - The Beginning
Upon reload with debug on and polling at 10. The errors related to guest bedroom could be because that room has two play 3's bridged together for stereo. I setup a device for both left and right with the ips listed in sonos desktop but in the device settings both devices have same name so not sure I have correct ip tied to the correct play3. In the sons listing of players it calls one left and one right. Will continue testing but wanted to send this soon. Is this form helpful to you or do you want without debug? Really glad to be done with sonospy. Thanks again for the effort I know it was extensive. Terry - Code: Select all
Plugin "Sonos" disconnected Starting plugin "Sonos 0.3.5" (pid 452) Plugin "Sonos" connected Plugin "Sonos 0.3.5" started Sonos LineIn: RINCON_000E5810F47601400, Line-In Sonos LineIn: RINCON_000E583CCAE801400, Line-In Sonos LineIn: RINCON_000E5810560001400, AirPlay Device Sonos LineIn: RINCON_000E581053BE01400, Mac Computer Sonos LineIn: RINCON_000E5888168C01400, House Mac Mini Sonos LineIn: , Shop Sonos LineIn: RINCON_000E5810F47601400, Line-In Sonos Debug Getting Plugin Configuration Settings Sonos Debug Connection Type: Socket Sonos Debug Reference ZP IP: 192.168.1.53 Sonos Debug Direct Poll: True Sonos Debug Polling Interval: 10 Sonos Saved Plugin Configuration Sonos Debug Loading Playlists... 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:Browse xmlns:ns0="urn:schemas-upnp-org:service:ContentDirectory:1"> <InstanceID>0</InstanceID> <ObjectID>SQ:</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter></Filter><StartingIndex>0</StartingIndex><RequestedCount>1000</RequestedCount><SortCriteria></SortCriteria> </ns0:Browse> </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:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><container id="SQ:16" parentID="SQ:" restricted="true"><dc:title>Acker Bilk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#16</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:19" parentID="SQ:" restricted="true"><dc:title>AcKer Bilk Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#19</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:25" parentID="SQ:" restricted="true"><dc:title>ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#25</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:13" parentID="SQ:" restricted="true"><dc:title>Ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#13</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:10" parentID="SQ:" restricted="true"><dc:title>Christmas</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#10</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:20" parentID="SQ:" restricted="true"><dc:title>Claironet + Memory</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#20</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:26" parentID="SQ:" restricted="true"><dc:title>Classical</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#26</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:22" parentID="SQ:" restricted="true"><dc:title>Country List</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#22</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:12" parentID="SQ:" restricted="true"><dc:title>Easy Listening</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#12</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:23" parentID="SQ:" restricted="true"><dc:title>Il Divo &amp; Enya</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#23</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:21" parentID="SQ:" restricted="true"><dc:title>Pictures</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#21</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:15" parentID="SQ:" restricted="true"><dc:title>POP</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#15</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:6" parentID="SQ:" restricted="true"><dc:title>Reading</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#6</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:27" parentID="SQ:" restricted="true"><dc:title>Ricky Nelson</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#27</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:11" parentID="SQ:" restricted="true"><dc:title>Sharon</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#11</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:9" parentID="SQ:" restricted="true"><dc:title>Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#9</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:17" parentID="SQ:" restricted="true"><dc:title>TOP 50&apos;s</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#17</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:8" parentID="SQ:" restricted="true"><dc:title>Walk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#8</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:24" parentID="SQ:" restricted="true"><dc:title>Xxxxx</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#24</res><upnp:class>object.container.playlistContainer</upnp:class></container></DIDL-Lite></Result><NumberReturned>19</NumberReturned><TotalMatches>19</TotalMatches><UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope> Sonos Debug ZP: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><container id="SQ:16" parentID="SQ:" restricted="true"><dc:title>Acker Bilk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#16</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:19" parentID="SQ:" restricted="true"><dc:title>AcKer Bilk Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#19</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:25" parentID="SQ:" restricted="true"><dc:title>ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#25</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:13" parentID="SQ:" restricted="true"><dc:title>Ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#13</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:10" parentID="SQ:" restricted="true"><dc:title>Christmas</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#10</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:20" parentID="SQ:" restricted="true"><dc:title>Claironet + Memory</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#20</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:26" parentID="SQ:" restricted="true"><dc:title>Classical</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#26</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:22" parentID="SQ:" restricted="true"><dc:title>Country List</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#22</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:12" parentID="SQ:" restricted="true"><dc:title>Easy Listening</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#12</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:23" parentID="SQ:" restricted="true"><dc:title>Il Divo & Enya</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#23</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:21" parentID="SQ:" restricted="true"><dc:title>Pictures</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#21</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:15" parentID="SQ:" restricted="true"><dc:title>POP</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#15</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:6" parentID="SQ:" restricted="true"><dc:title>Reading</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#6</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:27" parentID="SQ:" restricted="true"><dc:title>Ricky Nelson</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#27</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:11" parentID="SQ:" restricted="true"><dc:title>Sharon</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#11</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:9" parentID="SQ:" restricted="true"><dc:title>Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#9</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:17" parentID="SQ:" restricted="true"><dc:title>TOP 50's</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#17</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:8" parentID="SQ:" restricted="true"><dc:title>Walk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#8</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:24" parentID="SQ:" restricted="true"><dc:title>Xxxxx</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#24</res><upnp:class>object.container.playlistContainer</upnp:class></container></DIDL-Lite></Result><NumberReturned>19</NumberReturned><TotalMatches>19</TotalMatches><UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope> Sonos Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last): File "plugin.py", line 46, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 67, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 610, in getPlaylistsDirect File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 1012, in XML File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 182, in fromstring File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 1292, in feed <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 1, column 2725
Sonos Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds Sonos Debug Method: runConcurrentThread Sonos Debug Running Concurrent Thread Sonos Debug Parsing: 192.168.1.39:Guest Room (L) 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:GetTransportInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportInfo> </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:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CurrentTransportState>STOPPED</CurrentTransportState><CurrentTransportStatus>OK</CurrentTransportStatus><CurrentSpeed>1</CurrentSpeed></u:GetTransportInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_STATE, Value: STOPPED 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:GetTransportSettings xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportSettings> </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:GetTransportSettingsResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><PlayMode>NORMAL</PlayMode><RecQualityMode>NOT_IMPLEMENTED</RecQualityMode></u:GetTransportSettingsResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: Q_Repeat, Value: off Sonos Debug Updating Device: Sonos Guest Room L, State: Q_Shuffle, Value: off 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:GetVolume xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetVolume> </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:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>37</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_VOLUME, Value: 37 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:GetMute xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetMute> </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:GetMuteResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentMute>0</CurrentMute></u:GetMuteResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_MUTE, Value: 0 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:GetOutputFixed xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> </ns0:GetOutputFixed> </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:GetOutputFixedResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentFixed>0</CurrentFixed></u:GetOutputFixedResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_VOLUME_FIXED, Value: 0 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:GetCrossfadeMode xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetCrossfadeMode> </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:GetCrossfadeModeResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CrossfadeMode>0</CrossfadeMode></u:GetCrossfadeModeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: Q_Crossfade, Value: off 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:GetMediaInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetMediaInfo> </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:GetMediaInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><NrTracks>0</NrTracks><MediaDuration>NOT_IMPLEMENTED</MediaDuration><CurrentURI>x-rincon-queue:RINCON_000E5879557601400#0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData><NextURI>NOT_IMPLEMENTED</NextURI><NextURIMetaData>NOT_IMPLEMENTED</NextURIMetaData><PlayMedium>NETWORK</PlayMedium><RecordMedium>NOT_IMPLEMENTED</RecordMedium><WriteStatus>NOT_IMPLEMENTED</WriteStatus></u:GetMediaInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_CurrentURI, Value: x-rincon-queue:RINCON_000E5879557601400#0 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:GetPositionInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetPositionInfo> </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:GetPositionInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><Track>0</Track><TrackDuration>0:00:00</TrackDuration><TrackMetaData></TrackMetaData><TrackURI></TrackURI><RelTime>0:00:00</RelTime><AbsTime>NOT_IMPLEMENTED</AbsTime><RelCount>2147483647</RelCount><AbsCount>2147483647</AbsCount></u:GetPositionInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_STATION, Value: Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_CLASS, Value: Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_TRACK, Value: Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_ARTIST, Value: Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_ALBUM, Value: Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_ART, Value: Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_DURATION, Value: 0:00:00 Sonos Debug Updating Device: Sonos Guest Room L, State: ZP_POSITION, Value: 0:00:00 Sonos Debug --------------------------------------------- Sonos Debug Parsing: 192.168.1.38:Guest Room (L) 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:GetTransportInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportInfo> </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:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CurrentTransportState>PLAYING</CurrentTransportState><CurrentTransportStatus>OK</CurrentTransportStatus><CurrentSpeed>1</CurrentSpeed></u:GetTransportInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_STATE, Value: PLAYING 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:GetTransportSettings xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportSettings> </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:GetTransportSettingsResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><PlayMode>NORMAL</PlayMode><RecQualityMode>NOT_IMPLEMENTED</RecQualityMode></u:GetTransportSettingsResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: Q_Repeat, Value: off Sonos Debug Updating Device: Sonos Guest Room R, State: Q_Shuffle, Value: off 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:GetVolume xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetVolume> </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:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>37</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_VOLUME, Value: 37 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:GetMute xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetMute> </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:GetMuteResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentMute>0</CurrentMute></u:GetMuteResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_MUTE, Value: 0 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:GetOutputFixed xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> </ns0:GetOutputFixed> </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:GetOutputFixedResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentFixed>0</CurrentFixed></u:GetOutputFixedResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_VOLUME_FIXED, Value: 0 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:GetCrossfadeMode xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetCrossfadeMode> </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:GetCrossfadeModeResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CrossfadeMode>0</CrossfadeMode></u:GetCrossfadeModeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: Q_Crossfade, Value: off 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:GetMediaInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetMediaInfo> </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:GetMediaInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><NrTracks>1</NrTracks><MediaDuration>NOT_IMPLEMENTED</MediaDuration><CurrentURI>x-rincon:RINCON_000E5879557601400</CurrentURI><CurrentURIMetaData></CurrentURIMetaData><NextURI>NOT_IMPLEMENTED</NextURI><NextURIMetaData>NOT_IMPLEMENTED</NextURIMetaData><PlayMedium>NETWORK</PlayMedium><RecordMedium>NOT_IMPLEMENTED</RecordMedium><WriteStatus>NOT_IMPLEMENTED</WriteStatus></u:GetMediaInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_CurrentURI, Value: x-rincon:RINCON_000E5879557601400 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:GetPositionInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetPositionInfo> </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:GetPositionInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><Track>1</Track><TrackDuration>NOT_IMPLEMENTED</TrackDuration><TrackMetaData>NOT_IMPLEMENTED</TrackMetaData><TrackURI>x-rincon:RINCON_000E5879557601400</TrackURI><RelTime>NOT_IMPLEMENTED</RelTime><AbsTime>NOT_IMPLEMENTED</AbsTime><RelCount>2147483647</RelCount><AbsCount>2147483647</AbsCount></u:GetPositionInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_DURATION, Value: NOT_IMPLEMENTED Sonos Debug Updating Device: Sonos Guest Room R, State: ZP_POSITION, Value: NOT_IMPLEMENTED Sonos Debug --------------------------------------------- Sonos Debug Parsing: 192.168.1.30:Library 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:GetTransportInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportInfo> </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:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CurrentTransportState>STOPPED</CurrentTransportState><CurrentTransportStatus>OK</CurrentTransportStatus><CurrentSpeed>1</CurrentSpeed></u:GetTransportInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: ZP_STATE, Value: STOPPED 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:GetTransportSettings xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportSettings> </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:GetTransportSettingsResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><PlayMode>NORMAL</PlayMode><RecQualityMode>NOT_IMPLEMENTED</RecQualityMode></u:GetTransportSettingsResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: Q_Repeat, Value: off Sonos Debug Updating Device: Sonos library, State: Q_Shuffle, Value: off 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:GetVolume xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetVolume> </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:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>49</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: ZP_VOLUME, Value: 49 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:GetMute xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetMute> </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:GetMuteResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentMute>0</CurrentMute></u:GetMuteResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: ZP_MUTE, Value: 0 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:GetOutputFixed xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> </ns0:GetOutputFixed> </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:GetOutputFixedResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentFixed>0</CurrentFixed></u:GetOutputFixedResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: ZP_VOLUME_FIXED, Value: 0 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:GetCrossfadeMode xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetCrossfadeMode> </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:GetCrossfadeModeResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CrossfadeMode>0</CrossfadeMode></u:GetCrossfadeModeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: Q_Crossfade, Value: off 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:GetMediaInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetMediaInfo> </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:GetMediaInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><NrTracks>0</NrTracks><MediaDuration>NOT_IMPLEMENTED</MediaDuration><CurrentURI>x-rincon-queue:RINCON_000E5810F47601400#0</CurrentURI><CurrentURIMetaData></CurrentURIMetaData><NextURI>NOT_IMPLEMENTED</NextURI><NextURIMetaData>NOT_IMPLEMENTED</NextURIMetaData><PlayMedium>NETWORK</PlayMedium><RecordMedium>NOT_IMPLEMENTED</RecordMedium><WriteStatus>NOT_IMPLEMENTED</WriteStatus></u:GetMediaInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos library, State: ZP_CurrentURI, Value: x-rincon-queue:RINCON_000E5810F47601400#0 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:GetPositionInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetPositionInfo> </s:Body> </s:Envelope>
|
| Sat May 12, 2012 4:35 pm |
|
 |
|
terrydew
Joined: Jun 10, 2011 Posts: 260
|
 Re: Sonos - The Beginning
Just noticed. Apparently in last revision the zone player selection in no longer there and only has place for ip address. Not needed as name and ip both are redundant but wanted to let you know if by some chance the change wasn't intended.
The Playlist drop down is no longer populated for selection in device settings for the playlist action.
The radio selection drop down is not populated in device settings for radio action
|
| Sat May 12, 2012 4:54 pm |
|
 |
|
terrydew
Joined: Jun 10, 2011 Posts: 260
|
 Re: Sonos - The Beginning
Tested all functions except ones (linein, radio, playlist) not populated per in earlier post. Following work and status changes correctly when one zone Play Pause Mute Vol Vol up Vol dn next previous (goes back to previous track. does not restart current track) Stop Toggle play queue (starts playing current track after being switched to radio or linein. As it should in my opinion) When two zones grouped all above work but the status of the grouped player doesn't change as the main player does Following actions have issues Crossfade can be turned on but not off (should be a toggle?) Repeat and Shuffle do not work at all Repeat: - Code: Select all
Sonos Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 95, in actionQ_Repeat File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 445, in actionDirect <type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'true'
Shuffle - Code: Select all
Action Group Sonos Portable Queue Shuffle Sonos Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 98, in actionQ_Shuffle File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 458, in actionDirect <type 'exceptions.ValueError'>: invalid literal for int() with base 10: 'true'
When portable is main and office is grouped. If a queue office command is issued the office zone is removed from group. If a group of three then just office is removed and the other two stay grouped and keep playing. (good I think?)
|
| Sat May 12, 2012 5:34 pm |
|
 |
|
dproctor
Joined: Apr 23, 2012 Posts: 12
|
 Re: Sonos - The Beginning
Running the latest version and all seems to be working as it should. Repeat and shuffle work for me but didn't at first. I think the only thing I did was reload the plugin. They are only an "on" action. Not sure if I would want it to be a toggle action or not. Status info seems to update properly with playlists and radio. With SiriusXM it only updates the CurrentURI, State, and volume. It doesn't update Info or Station like it does with radio. Didn't mess too much with grouping but did notice more or less the same as terry as far as status goes. I did notice that the grouped zone status went to playing even if I hadn't started playing anything on the main zone yet and it stayed in a playing status even after stopping the main zone.
|
| Sat May 12, 2012 6:28 pm |
|
 |
|
mat
Joined: Nov 25, 2010 Posts: 172 Location: UK
|
 Re: Sonos - The Beginning
Installed new pluging and no sonospy running.
Recreated all devices.
ll seems to be ok here and no memory leaks.
Not tried cross fade, repeat or shuffle yet.
Line in and queue not working - should they be?
My radio list is populated, as are playlists.
Great work.
|
| Sat May 12, 2012 6:33 pm |
|
 |
|
mat
Joined: Nov 25, 2010 Posts: 172 Location: UK
|
 Re: Sonos - The Beginning
Line in and queue working now.
Had the ipaddress of a zp90 as the reference ip. As soon as I changed it to a zp100 all worked fine.
Even better work Nigel!
Thanks for your time on this!
Mat
|
| Sat May 12, 2012 6:47 pm |
|
 |
|
terrydew
Joined: Jun 10, 2011 Posts: 260
|
 Re: Sonos - The Beginning
Mat
Are you running error free? If so I will try a delete and redo on all the devices. I have my reference player as a play5. Does it have to be a 120?
|
| Sat May 12, 2012 7:16 pm |
|
 |
|
nlagaros
Joined: Dec 20, 2010 Posts: 402
|
 Re: Sonos - The Beginning
One think I keep forgetting to mention is that you will have to either recreate each device or change their type to another plugin and then back to mine. I've modified states so it is pretty important to do that. I'll go back and see if I can deal with these issues (some are quite obvious - I'm not the best of developers). Mother's Day tomorrow so not much of a chance I will make significant progress.
I appreciate all the testing. It is contributing to what I think will be an awesome plugin when out of "beta".
|
| Sat May 12, 2012 7:42 pm |
|
 |
|
terrydew
Joined: Jun 10, 2011 Posts: 260
|
 Re: Sonos - The Beginning
Have redone devices. Deleted the play3 pair. Changed reference player. Still get this at enable or reload and none of my lists are populated - Code: Select all
May 12, 2012 9:58:41 PM Reloading plugin "Sonos 0.3.5" Stopping plugin "Sonos 0.3.5" (pid 3537) Plugin "Sonos" disconnected Starting plugin "Sonos 0.3.5" (pid 3550) Plugin "Sonos" connected Plugin "Sonos 0.3.5" started Sonos Saved Plugin Configuration Sonos Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last): File "plugin.py", line 46, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 67, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 610, in getPlaylistsDirect File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 1012, in XML File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 182, in fromstring File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 1292, in feed <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 1, column 2725
Sonos Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
|
| Sat May 12, 2012 8:04 pm |
|
 |
|
nlagaros
Joined: Dec 20, 2010 Posts: 402
|
 Re: Sonos - The Beginning
Terry - can you run in debug mode. I see it is crashing on startup - seems like it cannot reach the reference zone player.
|
| Sat May 12, 2012 8:08 pm |
|
 |
|
terrydew
Joined: Jun 10, 2011 Posts: 260
|
 Re: Sonos - The Beginning
here it is with debug - Code: Select all
Reloading plugin "Sonos 0.3.5" Stopping plugin "Sonos 0.3.5" (pid 3550) Sonos Debug Method: stopConcurrentThread
May 12, 2012 10:26:42 PM Error process (pid 3550) failed to quit after polite request -- forcing it to quit now Starting plugin "Sonos 0.3.5" (pid 3955) Plugin "Sonos" disconnected Plugin "Sonos" connected Plugin "Sonos 0.3.5" started Sonos Debug Getting Plugin Configuration Settings Sonos Debug Connection Type: Socket Sonos Debug Reference ZP IP: 192.168.1.7 Sonos Debug Direct Poll: True Sonos Debug Polling Interval: 30 Sonos Saved Plugin Configuration Sonos Debug Loading Playlists... 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:Browse xmlns:ns0="urn:schemas-upnp-org:service:ContentDirectory:1"> <InstanceID>0</InstanceID> <ObjectID>SQ:</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter></Filter><StartingIndex>0</StartingIndex><RequestedCount>1000</RequestedCount><SortCriteria></SortCriteria> </ns0:Browse> </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:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><container id="SQ:16" parentID="SQ:" restricted="true"><dc:title>Acker Bilk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#16</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:19" parentID="SQ:" restricted="true"><dc:title>AcKer Bilk Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#19</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:25" parentID="SQ:" restricted="true"><dc:title>ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#25</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:13" parentID="SQ:" restricted="true"><dc:title>Ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#13</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:10" parentID="SQ:" restricted="true"><dc:title>Christmas</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#10</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:20" parentID="SQ:" restricted="true"><dc:title>Claironet + Memory</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#20</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:26" parentID="SQ:" restricted="true"><dc:title>Classical</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#26</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:22" parentID="SQ:" restricted="true"><dc:title>Country List</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#22</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:12" parentID="SQ:" restricted="true"><dc:title>Easy Listening</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#12</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:23" parentID="SQ:" restricted="true"><dc:title>Il Divo &amp; Enya</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#23</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:21" parentID="SQ:" restricted="true"><dc:title>Pictures</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#21</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:15" parentID="SQ:" restricted="true"><dc:title>POP</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#15</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:6" parentID="SQ:" restricted="true"><dc:title>Reading</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#6</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:27" parentID="SQ:" restricted="true"><dc:title>Ricky Nelson</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#27</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:11" parentID="SQ:" restricted="true"><dc:title>Sharon</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#11</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:9" parentID="SQ:" restricted="true"><dc:title>Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#9</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:17" parentID="SQ:" restricted="true"><dc:title>TOP 50&apos;s</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#17</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:8" parentID="SQ:" restricted="true"><dc:title>Walk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#8</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:24" parentID="SQ:" restricted="true"><dc:title>Xxxxx</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#24</res><upnp:class>object.container.playlistContainer</upnp:class></container></DIDL-Lite></Result><NumberReturned>19</NumberReturned><TotalMatches>19</TotalMatches><UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope> Sonos Debug ZP: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><container id="SQ:16" parentID="SQ:" restricted="true"><dc:title>Acker Bilk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#16</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:19" parentID="SQ:" restricted="true"><dc:title>AcKer Bilk Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#19</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:25" parentID="SQ:" restricted="true"><dc:title>ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#25</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:13" parentID="SQ:" restricted="true"><dc:title>Ben</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#13</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:10" parentID="SQ:" restricted="true"><dc:title>Christmas</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#10</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:20" parentID="SQ:" restricted="true"><dc:title>Claironet + Memory</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#20</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:26" parentID="SQ:" restricted="true"><dc:title>Classical</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#26</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:22" parentID="SQ:" restricted="true"><dc:title>Country List</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#22</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:12" parentID="SQ:" restricted="true"><dc:title>Easy Listening</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#12</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:23" parentID="SQ:" restricted="true"><dc:title>Il Divo & Enya</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#23</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:21" parentID="SQ:" restricted="true"><dc:title>Pictures</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#21</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:15" parentID="SQ:" restricted="true"><dc:title>POP</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#15</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:6" parentID="SQ:" restricted="true"><dc:title>Reading</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#6</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:27" parentID="SQ:" restricted="true"><dc:title>Ricky Nelson</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#27</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:11" parentID="SQ:" restricted="true"><dc:title>Sharon</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#11</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:9" parentID="SQ:" restricted="true"><dc:title>Terry</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#9</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:17" parentID="SQ:" restricted="true"><dc:title>TOP 50's</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#17</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:8" parentID="SQ:" restricted="true"><dc:title>Walk</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#8</res><upnp:class>object.container.playlistContainer</upnp:class></container><container id="SQ:24" parentID="SQ:" restricted="true"><dc:title>Xxxxx</dc:title><res protocolInfo="file:*:audio/mpegurl:*">file:///jffs/settings/savedqueues.rsq#24</res><upnp:class>object.container.playlistContainer</upnp:class></container></DIDL-Lite></Result><NumberReturned>19</NumberReturned><TotalMatches>19</TotalMatches><UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope> Sonos Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last): File "plugin.py", line 46, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 67, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 610, in getPlaylistsDirect File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 1012, in XML File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 182, in fromstring File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/TED5000.indigoPlugin/Contents/Server Plugin/elementtree/ElementTree.py", line 1292, in feed <class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 1, column 2725
Sonos Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds Sonos Debug Method: runConcurrentThread Sonos Debug Running Concurrent Thread Sonos Debug Parsing: 192.168.1.30: 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:GetTransportInfo xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportInfo> </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:GetTransportInfoResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><CurrentTransportState>STOPPED</CurrentTransportState><CurrentTransportStatus>OK</CurrentTransportStatus><CurrentSpeed>1</CurrentSpeed></u:GetTransportInfoResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Library, State: ZP_STATE, Value: STOPPED 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:GetTransportSettings xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetTransportSettings> </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:GetTransportSettingsResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><PlayMode>NORMAL</PlayMode><RecQualityMode>NOT_IMPLEMENTED</RecQualityMode></u:GetTransportSettingsResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Library, State: Q_Repeat, Value: off Sonos Debug Updating Device: Sonos Library, State: Q_Shuffle, Value: off 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:GetVolume xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetVolume> </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:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>49</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Library, State: ZP_VOLUME, Value: 49 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:GetMute xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </ns0:GetMute> </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:GetMuteResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentMute>0</CurrentMute></u:GetMuteResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Library, State: ZP_MUTE, Value: 0 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:GetOutputFixed xmlns:ns0="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> </ns0:GetOutputFixed> </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:GetOutputFixedResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentFixed>0</CurrentFixed></u:GetOutputFixedResponse></s:Body></s:Envelope> Sonos Debug Updating Device: Sonos Library, State: ZP_VOLUME_FIXED, Value: 0 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:GetCrossfadeMode xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> </ns0:GetCrossfadeMode> </s:Body> </s:Envelope>
|
| Sat May 12, 2012 8:29 pm |
|
 |
|
mat
Joined: Nov 25, 2010 Posts: 172 Location: UK
|
 Re: Sonos - The Beginning
Terry,
Not sure it has to be a zp120 (I made a mistake referring to a zp100 in my post above, mine is a zp120), but line in and queue wouldn't work if I referenced the zp90.
Now I have referenced a z120, line in and queue works on the zp90
Forgot to check the error log last night at it was 2am here. It's been running all night so will do some further tests on memory etc this morning, and check the logs.
HTH
Mat
|
| Sun May 13, 2012 2:21 am |
|
 |
|
nlagaros
Joined: Dec 20, 2010 Posts: 402
|
 Re: Sonos - The Beginning
wiery & Terry: I posted an update that should address each of the parsing problems you encountered.
For wiery it was utf-8 decoding on state updates. For Terry, it was a quick change to deal with '&' and other special characters in playlist names.
Give it a shot.
Happy Mother's Day to all that put up with us Home Automation addicts!!
|
| Sun May 13, 2012 6:04 am |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|