Sonos Favorites

Posted on
Tue Dec 08, 2015 9:19 am
petematheson offline
Posts: 847
Joined: Sep 14, 2014
Location: Southampton, UK

Re: Sonos Favorites

8 Dec 2015 15:16:51
Reloading plugin "Sonos 0.8.23"
Stopping plugin "Sonos 0.8.23" (pid 3291)
Sonos Debug Method: stopConcurrentThread
Sonos Debug Stopping Concurrent Thread
Sonos Debug Stopping device: Sonos Kitchen
Sonos Debug Stopping device: Sonos Master Bedroom
Sonos Debug Stopping ControlPoint
Sonos Debug ControlPoint stopped.
Sonos Debug ControlPoint stopped?

8 Dec 2015 15:17:07
Error process (pid 3291) failed to quit after polite request -- forcing it to quit now
Stopped plugin "Sonos 0.8.23"
Starting plugin "Sonos 0.8.23" (pid 3296)
Started plugin "Sonos 0.8.23"
Sonos Your plugin version, v0.8.23, is current.
Sonos Debug Getting Plugin Configuration Settings
Sonos Debug Reference ZP IP: 192.168.0.101
Sonos Debug Publish/Subscribe Port: 9999
Sonos Debug Interface: False
Sonos Debug Network Interface: en0
Sonos Debug HTTP Streaming IP: auto
Sonos Debug HTTP Streaming Port: 8888
Sonos Debug Sound File Path:
Sonos Debug Pandora: False
Sonos Debug Pandora User ID:
Sonos Debug Pandora Email Address:
Sonos Debug Pandora Password: *****
Sonos Debug SiriusXM: False
Sonos Debug IVONA: False
Sonos Saved Plugin Configuration
Sonos Debug Loading Sonos Favorites...
Sonos Debug zoneIP: 192.168.0.101, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Debug Loading Playlists...
Sonos Debug zoneIP: 192.168.0.101, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Debug ZP: <HTML><HEAD><TITLE>Error 405</TITLE></HEAD><BODY><H1>Error 405</H1><P>Method Not Allowed</P></BODY></HTML>
Sonos Debug Loading RadioTime Favorite Stations...
Sonos Debug zoneIP: 192.168.0.101, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Debug ZP: <HTML><HEAD><TITLE>Error 405</TITLE></HEAD><BODY><H1>Error 405</H1><P>Method Not Allowed</P></BODY></HTML>
Sonos Debug ZonePlayer: Sonos Kitchen, Enabled: True
Sonos Debug Resetting States for zone: 192.168.0.105
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ALBUM, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ART, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ARTIST, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CREATOR, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CurrentURI, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_DURATION, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_INFO, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_MUTE, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_STATE, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_STATION, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_TRACK, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_VOLUME, Value:
Trigger Set Sonos Volume
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_VOLUME_FIXED, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ZoneName, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_LocalUID, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_AIName, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_AIPath, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NALBUM, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NART, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NARTIST, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NTRACK, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: Q_Crossfade, Value: off
Sonos Debug Updating Device: Sonos Kitchen, State: Q_Repeat, Value: off
Sonos Debug Updating Device: Sonos Kitchen, State: Q_Shuffle, Value: off
Sonos Debug Updating Device: Sonos Kitchen, State: GROUP_Coordinator, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: GROUP_Name, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CurrentTrack, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CurrentTrackURI, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZoneGroupID, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZoneGroupName, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZonePlayerUUIDsInGroup, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ZoneName, Value: Kitchen
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_LocalUID, Value: RINCON_B8E9375501CE01400
Sonos Debug zoneIP: 192.168.0.105, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupAttributes
Sonos Debug Updating Device: Sonos Kitchen, State: ZoneGroupName, Value: Kitchen
Sonos Debug Updating Device: Sonos Kitchen, State: ZoneGroupID, Value: RINCON_B8E9375501CE01400:1
Sonos Debug Updating Device: Sonos Kitchen, State: ZonePlayerUUIDsInGroup, Value: RINCON_B8E9375501CE01400
Sonos Adding ZonePlayer: RINCON_B8E9375501CE01400
Sonos Debug ZonePlayer: Sonos Master Bedroom, Enabled: True
Sonos Debug Resetting States for zone: 192.168.0.109
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ALBUM, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ART, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ARTIST, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CREATOR, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CurrentURI, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_DURATION, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_INFO, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_MUTE, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_STATE, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_STATION, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_TRACK, Value:
Trigger Sonos Upstairs Status
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_VOLUME, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_VOLUME_FIXED, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ZoneName, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_LocalUID, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_AIName, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_AIPath, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NALBUM, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NART, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NARTIST, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NTRACK, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: Q_Crossfade, Value: off
Sonos Debug Updating Device: Sonos Master Bedroom, State: Q_Repeat, Value: off
Sonos Debug Updating Device: Sonos Master Bedroom, State: Q_Shuffle, Value: off
Sonos Debug Updating Device: Sonos Master Bedroom, State: GROUP_Coordinator, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: GROUP_Name, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CurrentTrack, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CurrentTrackURI, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZoneGroupID, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZoneGroupName, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZonePlayerUUIDsInGroup, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ZoneName, Value: Master Bedroom
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_LocalUID, Value: RINCON_B8E9378E18D801400
Sonos Debug zoneIP: 192.168.0.109, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupAttributes
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZoneGroupName, Value: Master Bedroom
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZoneGroupID, Value: RINCON_B8E9378E18D801400:6
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZonePlayerUUIDsInGroup, Value: RINCON_B8E9378E18D801400
Sonos Adding ZonePlayer: RINCON_B8E9378E18D801400
Sonos Subscribing on port: 9999
Sonos SonosEvents INFO: Publishing on port: 9999
Sonos Event Ignition...
Sonos Debug SonosEvents: WARN coherence Dec 08 15:17:11 Coherence UPnP framework version 0.6.6.2 starting... (coherence/base.py:283)
Sonos Debug SonosEvents: WARN ssdp Dec 08 15:17:11 There seems to be already a SSDP server running on this host, no need starting a second one. (coherence/upnp/core/ssdp.py:56)
Sonos Debug SonosEvents: WARN webserver Dec 08 15:17:11 WebServer on port 60335 ready (coherence/base.py:124)
Sonos Debug SonosEvents: ./lib/coherence/extern/louie.py:44: UserWarning: extern.louie will soon be deprecated in favor of coherence.dispatcher.
Sonos Debug SonosEvents: warnings.warn("extern.louie will soon be deprecated in favor of coherence.dispatcher.")
Sonos Debug SonosEvents: WARN device Dec 08 15:17:11 error getting device description from 'http://192.168.0.110:49153/description5.xml' (coherence/upnp/core/device.py:535)
Sonos Debug SonosEvents: WARN device Dec 08 15:17:12 error getting device description from 'http://192.168.0.110:49153/description6.xml' (coherence/upnp/core/device.py:535)
Sonos Debug SonosEvents: WARN device Dec 08 15:17:12 error getting device description from 'http://192.168.0.110:49153/description4.xml' (coherence/upnp/core/device.py:535)
Sonos Debug zoneIP: 192.168.0.105, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupAttributes
Sonos Serving HTTP Streamer on 192.168.0.10 [0.0.0.0], port 8888
Sonos Debug zoneIP: 192.168.0.109, soapRoot: /ZonePlayer, soapBranch: /ZoneGroupTopology, soapAction: GetZoneGroupAttributes
Sonos Debug Event: RINCON_B8E9378E18D801400|GM^GroupCoordinatorIsLocal|true
Sonos Debug Updating Device: Sonos Master Bedroom, State: GROUP_Coordinator, Value: true
Sonos Debug Update all states to slave ZonePlayers...
Sonos Debug Event: RINCON_B8E9378E18D801400|GM^LocalGroupUUID|RINCON_B8E9378E18D801400:6
Sonos Debug Updating Device: Sonos Master Bedroom, State: GROUP_Name, Value: RINCON_B8E9378E18D801400:6
Sonos Debug Update all states to slave ZonePlayers...
Sonos Debug Event: RINCON_B8E9378E18D801400|RCS^Volume|13^Mute|0^Bass|-3^Treble|0^Loudness|1^OutputFixed|0^HeadphoneConnected|0^SpeakerSize|5^SubGain|0^SubCrossover|0^SubPolarity|0^SubEnabled|1^PresetNameList|FactoryDefaults
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_VOLUME, Value: 13
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_MUTE, Value: 0
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_VOLUME_FIXED, Value: 0
Sonos Debug Event: RINCON_B8E9378E18D801400|AVT^AVTransportURI|x-rincon-queue:RINCON_B8E9378E18D801400#0^SleepTimerGeneration|0^AlarmRunning|0^SnoozeRunning|0^TransportState|PAUSED_PLAYBACK^CurrentPlayMode|NORMAL^CurrentCrossfadeMode|0^CurrentTrackDuration|0:05:04^CurrentTrack|494^CurrentTrackURI|x-file-cifs://HomeServer/Music/iTunes/iTunes%20Media/Music/Snow%20Patrol/Up%20To%20Now/1-15%20Snow%20Patrol%20-%20Run%20(Live).mp3^EnqueuedTransportURI|file:///jffs/settings/trackqueue.rsq#0^station|None^albumArtURI|None^title|Snow Patrol - Run (Live)^creator|Snow Patrol^album|Up To Now^albumArtist|Snow Patrol^next_albumArtURI|None^next_title|Snow Patrol - Chasing Cars (Live)^next_creator|Snow Patrol^next_album|Up To Now^next_albumArtist|Snow Patrol^info|None
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CurrentURI, Value: x-rincon-queue:RINCON_B8E9378E18D801400#0
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_STATE, Value: PAUSED
Sonos Debug Updating Device: Sonos Master Bedroom, State: Q_Repeat, Value: off
Sonos Debug Updating Device: Sonos Master Bedroom, State: Q_Shuffle, Value: off
Sonos Debug Updating Device: Sonos Master Bedroom, State: Q_Crossfade, Value: off
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_DURATION, Value: 0:05:04
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CurrentTrack, Value: 494
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CurrentTrackURI, Value: x-file-cifs://HomeServer/Music/iTunes/iTunes%20Media/Music/Snow%20Patrol/Up%20To%20Now/1-15%20Snow%20Patrol%20-%20Run%20(Live).mp3
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_STATION, Value: None
Sonos Debug Processing Cover Art: Sonos Master Bedroom:None
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ART, Value:
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_TRACK, Value: Snow Patrol - Run (Live)
Trigger Sonos Upstairs Status
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_CREATOR, Value: Snow Patrol
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ALBUM, Value: Up To Now
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_ARTIST, Value: Snow Patrol
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NART, Value: None
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NTRACK, Value: Snow Patrol - Chasing Cars (Live)
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NCREATOR, Value: Snow Patrol
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NALBUM, Value: Up To Now
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_NARTIST, Value: Snow Patrol
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_INFO, Value: None
Sonos Debug Event: RINCON_B8E9378E18D801400|AVT^TransportState|PAUSED_PLAYBACK
Sonos Debug Updating Device: Sonos Master Bedroom, State: ZP_STATE, Value: PAUSED
Sonos Debug Event: RINCON_B8E9375501CE01400|RCS^Volume|10^Mute|0^Bass|4^Treble|2^Loudness|1^OutputFixed|0^HeadphoneConnected|0^SpeakerSize|5^SubGain|0^SubCrossover|0^SubPolarity|0^SubEnabled|1^PresetNameList|FactoryDefaults
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_VOLUME, Value: 10
Trigger Set Sonos Volume
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_MUTE, Value: 0
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_VOLUME_FIXED, Value: 0
Sonos Debug Event: RINCON_B8E9375501CE01400|AVT^AVTransportURI|None^SleepTimerGeneration|0^AlarmRunning|0^SnoozeRunning|0^TransportState|STOPPED^CurrentPlayMode|NORMAL^CurrentCrossfadeMode|0^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CurrentURI, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_STATE, Value: STOPPED
Sonos Debug Updating Device: Sonos Kitchen, State: Q_Repeat, Value: off
Sonos Debug Updating Device: Sonos Kitchen, State: Q_Shuffle, Value: off
Sonos Debug Updating Device: Sonos Kitchen, State: Q_Crossfade, Value: off
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_DURATION, Value: 0:00:00
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CurrentTrack, Value: 0
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CurrentTrackURI, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_STATION, Value: None
Sonos Debug Processing Cover Art: Sonos Kitchen:None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ART, Value:
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_TRACK, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_CREATOR, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ALBUM, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_ARTIST, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NART, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NTRACK, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NCREATOR, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NALBUM, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_NARTIST, Value: None
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_INFO, Value: None
Sonos Debug Event: RINCON_B8E9375501CE01400|AVT^TransportState|STOPPED
Sonos Debug Updating Device: Sonos Kitchen, State: ZP_STATE, Value: STOPPED
Sonos Debug Event: RINCON_B8E9375501CE01400|GM^GroupCoordinatorIsLocal|true
Sonos Debug Updating Device: Sonos Kitchen, State: GROUP_Coordinator, Value: true
Sonos Debug Update all states to slave ZonePlayers...
Sonos Debug Event: RINCON_B8E9375501CE01400|GM^LocalGroupUUID|RINCON_B8E9375501CE01400:1
Sonos Debug Updating Device: Sonos Kitchen, State: GROUP_Name, Value: RINCON_B8E9375501CE01400:1
Sonos Debug Update all states to slave ZonePlayers...

Posted on
Tue Dec 08, 2015 10:13 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos Favorites

Your reference ZonePlayer id should be one of the Sonos IP addresses. In your case either 192.168.0.105 or 192.168.0.109.

Posted on
Tue Dec 08, 2015 10:59 am
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Favorites

Hi Nick,

Did my reply of a few days ago with fuller debugging info give you any idea what was causing my problem?

LM

Posted on
Tue Dec 08, 2015 11:01 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos Favorites

Still working on yours.. have a high number of issues .. sorry if i'm going out of order with some..

I'm not sure. It is like part of the action is missing. If you can run one more time in debug mode that might help. No ideas yet though.

Londonmark wrote:
Hi Nick,

Did my reply of a few days ago with fuller debugging info give you any idea what was causing my problem?

LM

Posted on
Tue Dec 08, 2015 11:05 am
petematheson offline
Posts: 847
Joined: Sep 14, 2014
Location: Southampton, UK

Re: Sonos Favorites

nlagaros wrote:
Your reference ZonePlayer id should be one of the Sonos IP addresses. In your case either 192.168.0.105 or 192.168.0.109.

Sorted - cheers! I was using the Hub's IP address instead of an actual player.

Posted on
Tue Dec 08, 2015 11:21 am
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Favorites

OK, will do another debug (with just the first box ticked...?) as soon as I can.

Please don't worry about it taking time!

Posted on
Tue Dec 08, 2015 4:19 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Favorites

OK, so keeping this very simple. One player ("Kitchen sonos") not grouped with anything, and a three stage action. Queue clear, Sonos favourite ("Discover archive"), Sonos play.

I get the same error - here is the debug log:

Code: Select all
Action Group                    Test action
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /Queue, soapAction: RemoveAllTracks
  Sonos                           ZonePlayer: Kitchen Sonos, Clear Queue
  Sonos                           Favorite Play: x-rincon-cpcontainer:10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: SetAVTransportURI
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: RemoveAllTracksFromQueue
  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|AVT^AVTransportURI|x-rincon-queue:RINCON_B8E937E9C7E001400#0^TransportState|STOPPED^CurrentPlayMode|SHUFFLE_NOREPEAT^CurrentCrossfadeMode|1^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentURI, Value: x-rincon-queue:RINCON_B8E937E9C7E001400#0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Repeat, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Shuffle, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Crossfade, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Processing Cover Art: Kitchen Sonos:None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_INFO, Value: None
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 148, in actionZP_SonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1152, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1136, in actionDirect
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects

  Sonos Debug                     Sonos Action: Play
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: Play
  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|AVT^TransportState|STOPPED^CurrentPlayMode|SHUFFLE_NOREPEAT^CurrentCrossfadeMode|1^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Repeat, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Shuffle, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Crossfade, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Processing Cover Art: Kitchen Sonos:None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_INFO, Value: None
  Sonos                           ZonePlayer: Kitchen Sonos, Play

Posted on
Sat Jan 02, 2016 8:03 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos Favorites

Would you mind trying the latest version of the plugin I just posted (v0.8.32). Thanks.

Londonmark wrote:
OK, so keeping this very simple. One player ("Kitchen sonos") not grouped with anything, and a three stage action. Queue clear, Sonos favourite ("Discover archive"), Sonos play.

I get the same error - here is the debug log:

Code: Select all
Action Group                    Test action
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /Queue, soapAction: RemoveAllTracks
  Sonos                           ZonePlayer: Kitchen Sonos, Clear Queue
  Sonos                           Favorite Play: x-rincon-cpcontainer:10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: SetAVTransportURI
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: RemoveAllTracksFromQueue
  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|AVT^AVTransportURI|x-rincon-queue:RINCON_B8E937E9C7E001400#0^TransportState|STOPPED^CurrentPlayMode|SHUFFLE_NOREPEAT^CurrentCrossfadeMode|1^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentURI, Value: x-rincon-queue:RINCON_B8E937E9C7E001400#0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Repeat, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Shuffle, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Crossfade, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Processing Cover Art: Kitchen Sonos:None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_INFO, Value: None
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 148, in actionZP_SonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1152, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1136, in actionDirect
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects

  Sonos Debug                     Sonos Action: Play
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: Play
  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|AVT^TransportState|STOPPED^CurrentPlayMode|SHUFFLE_NOREPEAT^CurrentCrossfadeMode|1^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Repeat, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Shuffle, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Crossfade, Value: on
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Processing Cover Art: Kitchen Sonos:None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_INFO, Value: None
  Sonos                           ZonePlayer: Kitchen Sonos, Play

Posted on
Mon Jan 11, 2016 2:30 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Favorites

Hi Nick,

Sorry for the delay. I've just installed version 8.33 but still get an error when trying to play a favourite (linked to a Spotify playlist). This is what I get:

Code: Select all
Action Group                    sonos favourites test
  Sonos                           Favorite Play: x-rincon-cpcontainer:10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr
  Sonos Error                     UPNP Error: 500
  Sonos Error                     Offending Command -> zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 175, in actionZP_SonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1364, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1347, in actionDirect
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects

  Sonos                           ZonePlayer: Kitchen Sonos, Remove Playlist: Indigo_RINCON_B8E937E9C7E001400
  Sonos                           ZonePlayer: Kitchen Sonos, Nothing in Queue to Save
  Sonos                           Loaded Playlists... [17]


Let me know if you need a more detailed debug.

Mark

Posted on
Mon Jan 11, 2016 2:43 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos Favorites

Can you re-run this action with all of the debugging boxes checked. I bet it it something silly in the formatting. or ... wait for it .. unicode??

Londonmark wrote:
Hi Nick,

Sorry for the delay. I've just installed version 8.33 but still get an error when trying to play a favourite (linked to a Spotify playlist). This is what I get:

Code: Select all
Action Group                    sonos favourites test
  Sonos                           Favorite Play: x-rincon-cpcontainer:10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr
  Sonos Error                     UPNP Error: 500
  Sonos Error                     Offending Command -> zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 175, in actionZP_SonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1364, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1347, in actionDirect
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects

  Sonos                           ZonePlayer: Kitchen Sonos, Remove Playlist: Indigo_RINCON_B8E937E9C7E001400
  Sonos                           ZonePlayer: Kitchen Sonos, Nothing in Queue to Save
  Sonos                           Loaded Playlists... [17]


Let me know if you need a more detailed debug.

Mark

Posted on
Mon Jan 11, 2016 3:01 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos Favorites

Actually, don't even bother. I'm sure it is a unicode issue. It will be corrected in the next release.

Posted on
Mon Jan 11, 2016 3:35 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Favorites

Ok!

Posted on
Fri Jan 15, 2016 2:33 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos Favorites

Hi Nick,

Thanks for the latest update. Sadly still no dice. Here's the full log output with all boxes checked.

Code: Select all
Action Group                    sonos favourites test
  Sonos                           Favorite Play: x-rincon-cpcontainer:10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr
  Sonos Debug                     zoneIP: 10.0.1.34, 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_B8E937E9C7E001400#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.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: RemoveAllTracksFromQueue
  Sonos                           SonosEvents DEBUG: Publishing: RINCON_B8E937E9C7E001400|AVT^AVTransportURI|x-rincon-queue:RINCON_B8E937E9C7E001400#0^TransportState|STOPPED^CurrentPlayMode|NORMAL^CurrentCrossfadeMode|0^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None

  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|AVT^AVTransportURI|x-rincon-queue:RINCON_B8E937E9C7E001400#0^TransportState|STOPPED^CurrentPlayMode|NORMAL^CurrentCrossfadeMode|0^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentURI, Value: x-rincon-queue:RINCON_B8E937E9C7E001400#0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Repeat, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Shuffle, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Crossfade, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_STATION, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_STATION, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Processing Cover Art: Kitchen Sonos:None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ART, Value:
  Sonos Debug                     Processing Cover Art: BedroomSonos:None
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_ART, Value:
  Sonos Debug                     Processing Cover Art: Conservatory Sonos:None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_ART, Value:
  Sonos Debug                     Processing Cover Art: ProjectorRoom Sonos:None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NART, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_INFO, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_INFO, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_INFO, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_INFO, Value: None
  Sonos                           SonosEvents DEBUG: Publishing: RINCON_B8E937E9C7E001400|Queue^QueueID|0^UpdateID|3

  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:RemoveAllTracksFromQueue xmlns:ns0="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></ns0:RemoveAllTracksFromQueue></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:RemoveAllTracksFromQueueResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:RemoveAllTracksFromQueueResponse></s:Body></s:Envelope>
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: AddURIToQueue
  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|Queue^QueueID|0^UpdateID|3
  Sonos Debug                         Updating Device: Kitchen Sonos, State: GROUP_Coordinator, Value: true
  Sonos Debug                     zoneIP: 10.0.1.34, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
  Sonos                           SonosEvents DEBUG: Publishing: RINCON_B8E937E9C7E001400|CD^ContainerUpdateIDs|Q:0,3

  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>Q:0</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>&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;/DIDL-Lite&gt;</Result><NumberReturned>0</NumberReturned><TotalMatches>0</TotalMatches><UpdateID>3</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Number, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_ObjectID, Value:
  Sonos                           ZonePlayer: Kitchen Sonos, Nothing in Queue to Save
  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|CD^ContainerUpdateIDs|Q:0,3
  Sonos Error                     UPNP Error: 500
  Sonos Error                     Offending Command -> zoneIP: 10.0.1.34, 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>800</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:10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr</EnqueuedURI><EnqueuedURIMetaData>&lt;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/"&gt;&lt;item id="10062a6cspotify%3auser%3alondonmark%3aplaylist%3a3wE2q0NVkPEm7JvxBbZOpr" parentID="0" restricted="true"&gt;&lt;dc:title&gt;Discover Archive&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.playlistContainer.sonos-favorite&lt;/upnp:class&gt;&lt;desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/"&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>800</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 175, in actionZP_SonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1379, in actionDirect
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1351, in actionDirect
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType' objects

  Sonos                           SonosEvents DEBUG: Publishing: RINCON_B8E937E9C7E001400|AVT^TransportState|STOPPED^CurrentPlayMode|NORMAL^CurrentCrossfadeMode|0^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None

  Sonos Debug                     Event: RINCON_B8E937E9C7E001400|AVT^TransportState|STOPPED^CurrentPlayMode|NORMAL^CurrentCrossfadeMode|0^CurrentTrackDuration|0:00:00^CurrentTrack|0^CurrentTrackURI|None^EnqueuedTransportURI|None^station|None^albumArtURI|None^title|None^creator|None^album|None^albumArtist|None^next_albumArtURI|None^next_title|None^next_creator|None^next_album|None^next_albumArtist|None^info|None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_STATE, Value: STOPPED
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Repeat, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Shuffle, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: Q_Crossfade, Value: off
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_DURATION, Value: 0:00:00
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_CurrentTrack, Value: 0
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_CurrentTrackURI, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_STATION, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_STATION, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_STATION, Value: None
  Sonos Debug                     Processing Cover Art: Kitchen Sonos:None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ART, Value:
  Sonos Debug                     Processing Cover Art: BedroomSonos:None
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_ART, Value:
  Sonos Debug                     Processing Cover Art: Conservatory Sonos:None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_ART, Value:
  Sonos Debug                     Processing Cover Art: ProjectorRoom Sonos:None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_ART, Value:
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_TRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_CREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_ALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_ARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NART, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NART, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NTRACK, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NCREATOR, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NALBUM, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_NARTIST, Value: None
  Sonos Debug                         Updating Device: Kitchen Sonos, State: ZP_INFO, Value: None
  Sonos Debug                     Replicate state to slave ZonePlayers...
  Sonos Debug                         Updating Device: BedroomSonos, State: ZP_INFO, Value: None
  Sonos Debug                         Updating Device: Conservatory Sonos, State: ZP_INFO, Value: None
  Sonos Debug                         Updating Device: ProjectorRoom Sonos, State: ZP_INFO, Value: None


Mark

Posted on
Sat Jan 16, 2016 6:04 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos Favorites

Londonmark - I just posted an update (v0.8.35) that may fix this. I found a logic error if the ZonePlayer you are sending the command to is not a group coordinator. I think this is the case here. Give it a shot please.

Who is online

Users browsing this forum: No registered users and 4 guests