Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

SONOS Plugin Official (download here)

Questions and comments specific to a particular plugin should go here.
techoguy
Experienced User
Posts: 157
Joined: Mon Mar 18, 2013 1:32 am

Re: SONOS Plugin Official (download here)

Post by techoguy »

Hi DaeronAlagos,

Yeah, i haven't posted anything but Google TTS changed something about a month or two ago.
I personally would love to use the PC based TTS, especially if it can be integrated into Win10 cortana. But, I never had a lot of time to figure out how to do this easily. There were two ways I was looking into, either you create a wav file for every message you want ahead of time (not TTS) and you just play that file which the plugin supports now, or I was looking into a way that would create a stream of the audio of the PC that SONOS could request and play, then you just use the PC TTS.

The full idea is you have the plugin startup capturing the audio and the audio stream, set sonos to connect to that stream, then play windows TTS. This theoretically should work. I wasn't sure the best way to do the second option. I was looking at VLC and other SW solutions but never made it very far.
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309

EventGhost Lets me automate my home the way I want it, I love using it!
techoguy
Experienced User
Posts: 157
Joined: Mon Mar 18, 2013 1:32 am

Re: SONOS Plugin Official (download here)

Post by techoguy »

Okay,
I did some more digging and some quick testing.
I first found eSpeak which allowed me to quickly create TTS -> wav files that I could then play through SONOS. This actually worked quickly but it required installing eSpeak and the voices were very robotic. I couldn't figure out how to use the window voices through this so started looking again. Now I think I have a way to do this without any other installs:

Here is some code from:
http://www.maprantala.com/2012/05/31/qu ... audio-wav/

Code: Select all

from comtypes.client import CreateObject
from comtypes.gen import SpeechLib

engine = CreateObject("SAPI.SpVoice")
stream = CreateObject("SAPI.SpFileStream")

outfile = "c:/temp/text4.wav"
stream.Open(outfile, SpeechLib.SSFMCreateForWrite)
engine.AudioOutputStream = stream

theText = "Hello, this is the Windows SAPI voice speaking"

engine.speak(theText)

stream.Close()
So this shows I can create the .wav files I need without the eSpeak. So I can implement this today with the current plugin and a python action but I'll have to do some programming to get the plugin to actually handle everything a little nicer and allow you to pick the voice you want to use. With that said, there is already a "Speech" plugin: http://eventghost.org/forum/viewtopic.p ... 5cd#p34897 that does everything accept output to a .wav file. I have asked to see if that would be easy to add to that plugin, and if I get a chance, i'll look into it as well. This will allow TTS through SONOS without Google or a Line-In. This of course would be ideal.
This also works very quickly, the audio file is created instantly and as long as the .wav file is in a network shared locaiton, it an be played through sonos using the NotifcationURL action.
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309

EventGhost Lets me automate my home the way I want it, I love using it!
kalinkamaen
Experienced User
Posts: 138
Joined: Wed Dec 26, 2012 9:23 am

Re: SONOS Plugin Official (download here)

Post by kalinkamaen »

Volume adjust does not work for me any more. Is it just me??

Code: Select all

---> Welcome to EventGhost <---
Keyboard.Ctrl
Keyboard.Ctrl
Keyboard.Ctrl+Down
   Network Event Sender: Map: Volume ned
      Sonos: VolumeAdjust: RINCON_000E58A036E401400
         Sending SetRelativeVolume to RINCON_000E58A036E401400
         Command Variables InstanceID:0
         Command Variables Adjustment:-3
         Command Variables Channel:Master
         POST /MediaRenderer/RenderingControl/Control HTTP/1.1

         Accept-Encoding: gzip

         CONNECTION: close

         HOST: 192.168.10.112:1400

         CONTENT-TYPE: text/xml; charset="utf-8"

         CONTENT-LENGTH: 371

         SOAPACTION: "urn:schemas-upnp-org:service:RenderingControl:1#SetRelativeVolume"

         

         <?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><u:SetRelativeVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><Adjustment>-3</Adjustment><Channel>Master</Channel></u:SetRelativeVolume></s:Body></s:Envelope>

         

         
         49567 Sending SetRelativeVolume to RINCON_000E58A036E401400
         adjusted volume by -3 in RINCON_000E58A036E401400
      Show OSD: Volume -
         ====== Restarting Asyncore Now =====================
techoguy
Experienced User
Posts: 157
Joined: Mon Mar 18, 2013 1:32 am

Re: SONOS Plugin Official (download here)

Post by techoguy »

Volume adjust does not work for me any more. Is it just me??
I just tested mine with the latest SONOS update and it seemed to work still.
I'm not seeing any errors in the log you posted so I'm not sure what could be going on.
I would just say to reboot EG and possibly your SONOS player and try again?
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309

EventGhost Lets me automate my home the way I want it, I love using it!
kalinkamaen
Experienced User
Posts: 138
Joined: Wed Dec 26, 2012 9:23 am

Re: SONOS Plugin Official (download here)

Post by kalinkamaen »

Thank you for testing. I reinstalled eventghost completly, and now its working :)

Thank you for the help and all the work you have done on the Sonos plugin!!
Looking forward to test weather :)
kalinkamaen
Experienced User
Posts: 138
Joined: Wed Dec 26, 2012 9:23 am

Re: SONOS Plugin Official (download here)

Post by kalinkamaen »

Hello sir, I have issue with setplaylist function in Sonos plugin.
The plugin cant find any playlists on my sonos.

Code: Select all

Getting Favorites List from Kjokken at 192.168.10.184
**Response HTML Error from Kjokken syntax error: line 1, column 0 response:
{'body': '805\r\n', 'status': 'OK', 'TRANSFER-ENCODING': 'chunked', 'status-type': 'HTTP/1.1', 'Connection': 'close', 'Server': 'Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)', 'EXT': '', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'status-code': '200'}
SONOS.ERROR u"**Response HTML Error from Kjokken syntax error: line 1, column 0 response:
{'body': '805\r\n', 'status': 'OK', 'TRANSFER-ENCODING': 'chunked', 'status-type': 'HTTP/1.1', 'Connection': 'close', 'Server': 'Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)', 'EXT': '', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'status-code': '200'}"
kalinkamaen
Experienced User
Posts: 138
Joined: Wed Dec 26, 2012 9:23 am

Re: SONOS Plugin Official (download here)

Post by kalinkamaen »

Here is some more info:

Code: Select all

Getting Favorites List from Kjokken at 192.168.10.184
Sending Browse to Kjokken
Command Variables ObjectID:FV:2
Command Variables BrowseFlag:BrowseDirectChildren
Command Variables Filter:dc:title,res,dc:creator,upnp:artist,upnp:album,upnp:albumArtURI
Command Variables RequestedCount:100
Command Variables StartingIndex:0
Command Variables SortCriteria:
POST /MediaServer/ContentDirectory/Control HTTP/1.1

Accept-Encoding: gzip

CONNECTION: close

HOST: 192.168.10.184:1400

CONTENT-TYPE: text/xml; charset="utf-8"

CONTENT-LENGTH: 518

SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"



<?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><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>FV:2</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>dc:title,res,dc:creator,upnp:artist,upnp:album,upnp:albumArtURI</Filter><RequestedCount>100</RequestedCount><StartingIndex>0</StartingIndex><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>




52274 Sending Browse to Kjokken
Waiting for SendGetFavPlayList response...
====== Restarting Asyncore Now =====================
52274 handle_connect
52274 handle_write
52274 handle_read
52274-Data:

HTTP/1.1 200 OK

CONTENT-TYPE: text/xml; charset="utf-8"

EXT: 

TRANSFER-ENCODING: chunked

Server: Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)

Connection: close



e38

------End Of Data------
52274 length met 1 socket closing
Kjokken GetFavPlayList Response 
e38


**Response HTML Error from Kjokken syntax error: line 1, column 0 response:
{'body': 'e38\r\n', 'status': 'OK', 'TRANSFER-ENCODING': 'chunked', 'status-type': 'HTTP/1.1', 'Connection': 'close', 'Server': 'Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)', 'EXT': '', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'status-code': '200'}
SONOS.ERROR u"**Response HTML Error from Kjokken syntax error: line 1, column 0 response:
{'body': 'e38\r\n', 'status': 'OK', 'TRANSFER-ENCODING': 'chunked', 'status-type': 'HTTP/1.1', 'Connection': 'close', 'Server': 'Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)', 'EXT': '', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'status-code': '200'}"
SendCommandWait complete - Kjokken
TellStickDuo.Bad 1etg spotter.OFF u"selflearning-dimmer:nexa.253.0"
TellStickDuo.Bad 1etg spotter.OFF u"selflearning-dimmer:nexa.253.0"
 connected to channel: <socket._socketobject object at 0x04A242D0>
 connected to addr: ('192.168.10.184', 50543)
--- Event Handle_Read ---
--- Event Handle_Read ---
--- Event Handle_Read ---
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0"><e:property><LastChange><Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"><InstanceID val="0"><TransportState val="PLAYING"/><CurrentPlayMode val="NORMAL"/><CurrentCrossfadeMode val="0"/><NumberOfTracks val="3"/><CurrentTrack val="1"/><CurrentSection val="0"/><CurrentTrackURI val="x-rincon-mp3radio://lyd.nrk.no/nrk_radio_p3_mp3_h"/><CurrentTrackDuration val="0:00:00"/><CurrentTrackMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;-1&quot; parentID=&quot;-1&quot; restricted=&quot;true&quot;&gt;&lt;res protocolInfo=&quot;sonos.com-http:*:*:*&quot;&gt;x-sonosapi-stream:s26044?sid=254&amp;amp;flags=8224&amp;amp;sn=0&lt;/res&gt;&lt;r:streamContent&gt;Matt Costa med Cold December&lt;/r:streamContent&gt;&lt;r:radioShowMd&gt;P3 Morgen,p224234&lt;/r:radioShowMd&gt;&lt;upnp:albumArtURI&gt;/getaa?s=1&amp;amp;u=x-sonosapi-stream%3as26044%3fsid%3d254%26flags%3d8224%26sn%3d0&lt;/upnp:albumArtURI&gt;&lt;dc:title&gt;x-sonosapi-stream:s26044?sid=254&amp;amp;flags=8224&amp;amp;sn=0&lt;/dc:title&gt;&lt;upnp:class&gt;object.item&lt;/upnp:class&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/><r:NextTrackURI val=""/><r:NextTrackMetaData val=""/><r:EnqueuedTransportURI val="x-sonosapi-stream:s26044?sid=254&amp;flags=8224&amp;sn=0"/><r:EnqueuedTransportURIMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;-1&quot; parentID=&quot;-1&quot; restricted=&quot;true&quot;&gt;&lt;dc:title&gt;NRK P3&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem.audioBroadcast&lt;/upnp:class&gt;&lt;desc id=&quot;cdudn&quot; nameSpace=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot;&gt;SA_RINCON65031_&lt;/desc&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/></InstanceID></Event></LastChange></e:property></e:propertyset>
--- EVENT Received --- AVTransport from Kjokken
<?xml version="1.0" ?><Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"><InstanceID val="0"><TransportState val="PLAYING"/><CurrentPlayMode val="NORMAL"/><CurrentCrossfadeMode val="0"/><NumberOfTracks val="3"/><CurrentTrack val="1"/><CurrentSection val="0"/><CurrentTrackURI val="x-rincon-mp3radio://lyd.nrk.no/nrk_radio_p3_mp3_h"/><CurrentTrackDuration val="0:00:00"/><CurrentTrackMetaData val="<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/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="sonos.com-http:*:*:*">x-sonosapi-stream:s26044?sid=254&amp;flags=8224&amp;sn=0</res><r:streamContent>Matt Costa med Cold December</r:streamContent><r:radioShowMd>P3 Morgen,p224234</r:radioShowMd><upnp:albumArtURI>/getaa?s=1&amp;u=x-sonosapi-stream%3as26044%3fsid%3d254%26flags%3d8224%26sn%3d0</upnp:albumArtURI><dc:title>x-sonosapi-stream:s26044?sid=254&amp;flags=8224&amp;sn=0</dc:title><upnp:class>object.item</upnp:class></item></DIDL-Lite>"/><r:NextTrackURI val=""/><r:NextTrackMetaData val=""/><r:EnqueuedTransportURI val="x-sonosapi-stream:s26044?sid=254&flags=8224&sn=0"/><r:EnqueuedTransportURIMetaData val="<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/"><item id="-1" parentID="-1" restricted="true"><dc:title>NRK P3</dc:title><upnp:class>object.item.audioItem.audioBroadcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON65031_</desc></item></DIDL-Lite>"/></InstanceID></Event>
Kjokken Received ZP Transport State: PLAYING
Kjokken Pre Transport State: Playing
Kjokken Transport State: Playing
Kjokken currentPlayMode: NORMAL
failed list index out of range
Track: x-sonosapi-stream:s26044?sid=254&flags=8224&sn=0
 connected to channel: <socket._socketobject object at 0x04B38DC0>
kalinkamaen
Experienced User
Posts: 138
Joined: Wed Dec 26, 2012 9:23 am

Re: SONOS Plugin Official (download here)

Post by kalinkamaen »

Here is more logs from setplaylist:

Code: Select all

looking for ZP that is not invisible...
Getting Favorites List from Kjokken at 192.168.10.185
Sending Browse to Kjokken
Command Variables ObjectID:FV:2
Command Variables BrowseFlag:BrowseDirectChildren
Command Variables Filter:dc:title,res,dc:creator,upnp:artist,upnp:album,upnp:albumArtURI
Command Variables RequestedCount:100
Command Variables StartingIndex:0
Command Variables SortCriteria:
POST /MediaServer/ContentDirectory/Control HTTP/1.1

Accept-Encoding: gzip

CONNECTION: close

HOST: 192.168.10.185:1400

CONTENT-TYPE: text/xml; charset="utf-8"

CONTENT-LENGTH: 518

SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"



<?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><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>FV:2</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>dc:title,res,dc:creator,upnp:artist,upnp:album,upnp:albumArtURI</Filter><RequestedCount>100</RequestedCount><StartingIndex>0</StartingIndex><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>




59171 Sending Browse to Kjokken
Waiting for SendGetFavPlayList response...
====== Restarting Asyncore Now =====================
59171 handle_connect
59171 handle_write
59171 handle_read
59171-Data:

HTTP/1.1 200 OK

CONTENT-TYPE: text/xml; charset="utf-8"

EXT: 

TRANSFER-ENCODING: chunked

Server: Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)

Connection: close



e91

------End Of Data------
59171 length met 1 socket closing
Kjokken GetFavPlayList Response 
e91


**Response HTML Error from Kjokken syntax error: line 1, column 0 response:
{'body': 'e91\r\n', 'status': 'OK', 'TRANSFER-ENCODING': 'chunked', 'status-type': 'HTTP/1.1', 'Connection': 'close', 'Server': 'Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)', 'EXT': '', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'status-code': '200'}
SONOS.ERROR u"**Response HTML Error from Kjokken syntax error: line 1, column 0 response:
{'body': 'e91\r\n', 'status': 'OK', 'TRANSFER-ENCODING': 'chunked', 'status-type': 'HTTP/1.1', 'Connection': 'close', 'Server': 'Linux UPnP/1.0 Sonos/31.3-22220 (ZPS3)', 'EXT': '', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'status-code': '200'}"
SendCommandWait complete - Kjokken
 connected to channel: <socket._socketobject object at 0x04897688>
 connected to addr: ('192.168.10.185', 38165)
--- Event Handle_Read ---
--- Event Handle_Read ---
--- Event Handle_Read ---
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0"><e:property><LastChange><Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"><InstanceID val="0"><TransportState val="PLAYING"/><CurrentPlayMode val="NORMAL"/><CurrentCrossfadeMode val="0"/><NumberOfTracks val="3"/><CurrentTrack val="1"/><CurrentSection val="0"/><CurrentTrackURI val="x-rincon-mp3radio://lyd.nrk.no/nrk_radio_p3_mp3_h"/><CurrentTrackDuration val="0:00:00"/><CurrentTrackMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;-1&quot; parentID=&quot;-1&quot; restricted=&quot;true&quot;&gt;&lt;res protocolInfo=&quot;sonos.com-http:*:*:*&quot;&gt;x-sonosapi-stream:s26044?sid=254&amp;amp;flags=8224&amp;amp;sn=0&lt;/res&gt;&lt;r:streamContent&gt;Snart: All Hours, Julie Bergan&lt;/r:streamContent&gt;&lt;r:radioShowMd&gt;Popsalongen,p224300&lt;/r:radioShowMd&gt;&lt;upnp:albumArtURI&gt;/getaa?s=1&amp;amp;u=x-sonosapi-stream%3as26044%3fsid%3d254%26flags%3d8224%26sn%3d0&lt;/upnp:albumArtURI&gt;&lt;dc:title&gt;x-sonosapi-stream:s26044?sid=254&amp;amp;flags=8224&amp;amp;sn=0&lt;/dc:title&gt;&lt;upnp:class&gt;object.item&lt;/upnp:class&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/><r:NextTrackURI val=""/><r:NextTrackMetaData val=""/><r:EnqueuedTransportURI val="x-sonosapi-stream:s26044?sid=254&amp;flags=8224&amp;sn=0"/><r:EnqueuedTransportURIMetaData val="&lt;DIDL-Lite xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot; xmlns:r=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot; xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;&gt;&lt;item id=&quot;-1&quot; parentID=&quot;-1&quot; restricted=&quot;true&quot;&gt;&lt;dc:title&gt;NRK P3&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem.audioBroadcast&lt;/upnp:class&gt;&lt;desc id=&quot;cdudn&quot; nameSpace=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot;&gt;SA_RINCON65031_&lt;/desc&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;"/></InstanceID></Event></LastChange></e:property></e:propertyset>
--- EVENT Received --- AVTransport from Kjokken
<?xml version="1.0" ?><Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/"><InstanceID val="0"><TransportState val="PLAYING"/><CurrentPlayMode val="NORMAL"/><CurrentCrossfadeMode val="0"/><NumberOfTracks val="3"/><CurrentTrack val="1"/><CurrentSection val="0"/><CurrentTrackURI val="x-rincon-mp3radio://lyd.nrk.no/nrk_radio_p3_mp3_h"/><CurrentTrackDuration val="0:00:00"/><CurrentTrackMetaData val="<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/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="sonos.com-http:*:*:*">x-sonosapi-stream:s26044?sid=254&amp;flags=8224&amp;sn=0</res><r:streamContent>Snart: All Hours, Julie Bergan</r:streamContent><r:radioShowMd>Popsalongen,p224300</r:radioShowMd><upnp:albumArtURI>/getaa?s=1&amp;u=x-sonosapi-stream%3as26044%3fsid%3d254%26flags%3d8224%26sn%3d0</upnp:albumArtURI><dc:title>x-sonosapi-stream:s26044?sid=254&amp;flags=8224&amp;sn=0</dc:title><upnp:class>object.item</upnp:class></item></DIDL-Lite>"/><r:NextTrackURI val=""/><r:NextTrackMetaData val=""/><r:EnqueuedTransportURI val="x-sonosapi-stream:s26044?sid=254&flags=8224&sn=0"/><r:EnqueuedTransportURIMetaData val="<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/"><item id="-1" parentID="-1" restricted="true"><dc:title>NRK P3</dc:title><upnp:class>object.item.audioItem.audioBroadcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON65031_</desc></item></DIDL-Lite>"/></InstanceID></Event>
Kjokken Received ZP Transport State: PLAYING
Kjokken Pre Transport State: Playing
Kjokken Transport State: Playing
Bad Pre Transport State: Playing
Bad Transport State: Playing
Stue Pre Transport State: Playing
Stue Transport State: Playing
Kjokken currentPlayMode: NORMAL
failed list index out of range
Track: x-sonosapi-stream:s26044?sid=254&flags=8224&sn=0
Here is also a picture showing no playlist in plugin:

Image

Here you can see that its not empty in sonos:

Image
wkumeling
Posts: 10
Joined: Sun Dec 06, 2009 10:40 am

Re: SONOS Plugin Official (download here)

Post by wkumeling »

The same problem on my EG SONOS control.
Since last SONOS update I can't setplaylist anymore. The ones that were assigned still work.
kalinkamaen
Experienced User
Posts: 138
Joined: Wed Dec 26, 2012 9:23 am

Re: SONOS Plugin Official (download here)

Post by kalinkamaen »

OKi.. It happened after update here aswell.
I hope techoguy is back on the forum soon with som positive news.
For now I will just live without it!!
egbaud
Posts: 35
Joined: Tue Mar 18, 2014 1:30 am

Re: SONOS Plugin Official (download here)

Post by egbaud »

Same problem: can't setplaylist anymore. The ones that were assigned still work, but they aren't visible in the playlist.
techoguy
Experienced User
Posts: 157
Joined: Mon Mar 18, 2013 1:32 am

Re: SONOS Plugin Official (download here)

Post by techoguy »

Hey all,
It does look like SONOS changed something in the way favorites was stored and received. I'll have to look into this but right now I'm not going to have much time. If anyone can help, please let me know.

Sorry for the late replies, for some reason I don't get notifications when people respond here on EG forums.
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309

EventGhost Lets me automate my home the way I want it, I love using it!
litfoo
Posts: 8
Joined: Sat Oct 10, 2015 6:39 pm

Re: SONOS Plugin Official (download here)

Post by litfoo »

thanks for the headsup techoguy

on a seperat note, I can getting **Response HTML Error from Living Room: 500 Internal Sever Error

Not sure why I am getting this error when trying to 'play' and 'pause' My Living Room Sonos

It was working well until a few days ago and my Kitchen Sonos works normally too by EG

Anyone have any ideas?

thanks

litfoo
techoguy
Experienced User
Posts: 157
Joined: Mon Mar 18, 2013 1:32 am

Re: SONOS Plugin Official (download here)

Post by techoguy »

litfoo wrote:thanks for the headsup techoguy

on a seperat note, I can getting **Response HTML Error from Living Room: 500 Internal Sever Error

Not sure why I am getting this error when trying to 'play' and 'pause' My Living Room Sonos

It was working well until a few days ago and my Kitchen Sonos works normally too by EG

Anyone have any ideas?

thanks

litfoo
Hi Litfoo,

Which sonos equipment are in your Living room and kitchen? Also, when you get that error, does the SONOS player still play and pause or nothing happens?
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309

EventGhost Lets me automate my home the way I want it, I love using it!
litfoo
Posts: 8
Joined: Sat Oct 10, 2015 6:39 pm

Re: SONOS Plugin Official (download here)

Post by litfoo »

techoguy wrote:
Hi Litfoo,

Which sonos equipment are in your Living room and kitchen? Also, when you get that error, does the SONOS player still play and pause or nothing happens?
hi techoguy,

Living Room is the ZP90 unit and kitchen is Play 3

I tried kitchen Sonos which worked but living room Sonos just errors and nothing happens - it does not trigger the harmony command to play the ZP90 (as before)

Image

thanks,

litfoo
Post Reply