Originally posted by Keoni
View Post
Hi all,
I think that this might be addressed somewhere, but want not able to find anything conclusive with a search. So please forgive me if it is detailed somewhere.
I would like to use the plugin to play Sonos favorites. However, for a very long time (1-2 years) this has not worked and I have had to use Radio Stations instead. I'd love to be able to use Favorites though (for my second problem is that I forgot how to create Radio Stations!!) and it would just be a happy time for Favorites to work anyway. When I set a new favorite, update the plugin DB, and give it some time to rest afterward, here is what I get in the log:
ERROR in PlayURI for zoneplayer = Whole House with UPNP Error = Read only tag / Transport is locked / Access denied. URI=x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18 and isObjectID = True, MetaData=Alohaobject.itemobject.item.sonos-favorite0x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18https://calmradio.com/images/channels/Aloha.jpginstantPlayCalm Radio Station<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="00092020stream%3a157" parentID="00082064catalog%3a0.5" restricted="true"><dc:title>Aloha</dc:title><upnp:class>object.item.audioItem.audioBroadcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON36871_keoni8888</desc></item></DIDL-Lite>, Error =MyUPnPService.InvokeAction for ServiceID = http://192.168.0.112:1400/xml/AVTransport1.xml while sending Action = SetAVTransportURI for URI = http://192.168.0.112:1400/MediaRende...nsport/Control and Request = 0 x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18 <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="FV:2/129" parentID="FV:2" restricted="false"><dc:title>Aloha</dc:title><upnp:class>object.itemobject.item.sonos-favorite</upnp:class><rrdinal>0</rrdinal><res protocolInfo="x-sonosapi-stream:*:*:*">x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18</res><upnp:albumArtURI>https://calmradio.com/images/channels/Aloha.jpg</upnp:albumArtURI><r:type>instantPlay</r:type><r:description>Calm Radio Station</r:description><r:resMD><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="00092020stream%3a157" parentID="00082064catalog%3a0.5" restricted="true"><dc:title>Aloha</dc:title><upnp:class>object.item.audioItem.audioBro adcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON36871_keoni8888</desc></item></DIDL-Lite></r:resMD></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 402 with error = The remote server returned an error: (500) Internal Server Error.
It is basically the same with other favorites from other providers. Is there something that I am doing incorrectly that I can change to get this to work?
Secondarily, can someone point me to documentation around creating a Radio Station for this streaming service instead of a Favorite? It looks like they are created automatically by the plugin but I am not sure of the logic used - why do some become Radio Stations and others do not?
Thanks everyone!
John
I think that this might be addressed somewhere, but want not able to find anything conclusive with a search. So please forgive me if it is detailed somewhere.
I would like to use the plugin to play Sonos favorites. However, for a very long time (1-2 years) this has not worked and I have had to use Radio Stations instead. I'd love to be able to use Favorites though (for my second problem is that I forgot how to create Radio Stations!!) and it would just be a happy time for Favorites to work anyway. When I set a new favorite, update the plugin DB, and give it some time to rest afterward, here is what I get in the log:
ERROR in PlayURI for zoneplayer = Whole House with UPNP Error = Read only tag / Transport is locked / Access denied. URI=x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18 and isObjectID = True, MetaData=Alohaobject.itemobject.item.sonos-favorite0x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18https://calmradio.com/images/channels/Aloha.jpginstantPlayCalm Radio Station<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="00092020stream%3a157" parentID="00082064catalog%3a0.5" restricted="true"><dc:title>Aloha</dc:title><upnp:class>object.item.audioItem.audioBroadcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON36871_keoni8888</desc></item></DIDL-Lite>, Error =MyUPnPService.InvokeAction for ServiceID = http://192.168.0.112:1400/xml/AVTransport1.xml while sending Action = SetAVTransportURI for URI = http://192.168.0.112:1400/MediaRende...nsport/Control and Request = 0 x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18 <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="FV:2/129" parentID="FV:2" restricted="false"><dc:title>Aloha</dc:title><upnp:class>object.itemobject.item.sonos-favorite</upnp:class><rrdinal>0</rrdinal><res protocolInfo="x-sonosapi-stream:*:*:*">x-sonosapi-stream:stream%3a157?sid=144&flags=8224&sn=18</res><upnp:albumArtURI>https://calmradio.com/images/channels/Aloha.jpg</upnp:albumArtURI><r:type>instantPlay</r:type><r:description>Calm Radio Station</r:description><r:resMD><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="00092020stream%3a157" parentID="00082064catalog%3a0.5" restricted="true"><dc:title>Aloha</dc:title><upnp:class>object.item.audioItem.audioBro adcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON36871_keoni8888</desc></item></DIDL-Lite></r:resMD></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 402 with error = The remote server returned an error: (500) Internal Server Error.
It is basically the same with other favorites from other providers. Is there something that I am doing incorrectly that I can change to get this to work?
Secondarily, can someone point me to documentation around creating a Radio Station for this streaming service instead of a Favorite? It looks like they are created automatically by the plugin but I am not sure of the logic used - why do some become Radio Stations and others do not?
Thanks everyone!
John
Dirk
Comment