Announcement

Collapse
No announcement yet.

SonosController Plugin General Forum

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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&amp;flags=8224&amp;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>&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;00092020stream%3a157&quot; parentID=&quot;00082064catalog%3a0.5&quot; restricted=&quot;true&quot;&gt;&lt;dc:title&gt;Aloha&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.audioItem.audioBro adcast&lt;/upnp:class&gt;&lt;desc id=&quot;cdudn&quot; nameSpace=&quot;urn:schemas-rinconnetworks-com:metadata-1-0/&quot;&gt;SA_RINCON36871_keoni8888&lt;/desc&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</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
    Hi John, found a solution to this problem. Will release soon. Which version of the PI are you using?

    Dirk

    Comment


      Originally posted by dcorsus View Post
      Hi John, found a solution to this problem. Will release soon. Which version of the PI are you using?

      Dirk
      Awesome Dirk - thank you! I am currently running 3.1.0.3

      Happy to test whatever needed as well.

      John

      Comment


        Originally posted by Keoni View Post
        Awesome Dirk - thank you! I am currently running 3.1.0.3

        Happy to test whatever needed as well.

        John
        Download here (http://board.homeseer.com/showpost.p...7&postcount=65), test and report. Hurry, I'll take link down in a day. Official version to be posted somewhere next week.

        Dirk

        Comment


          Originally posted by dcorsus View Post
          Download here (http://board.homeseer.com/showpost.p...7&postcount=65), test and report. Hurry, I'll take link down in a day. Official version to be posted somewhere next week.

          Dirk
          Hi Dirk,

          Don;t see the attached file there there. But do see that you edited the post an hour ago. So, might have missed the deadline! :-) No problem. I do not mind awaiting the release in a week or so when it happens. Good to know that you have the bug in your sights.

          Thanks for a great plug-in!

          John

          Comment


            Originally posted by Keoni View Post
            Hi Dirk,

            Don;t see the attached file there there. But do see that you edited the post an hour ago. So, might have missed the deadline! :-) No problem. I do not mind awaiting the release in a week or so when it happens. Good to know that you have the bug in your sights.

            Thanks for a great plug-in!

            John
            Things are moving fast. Link is now here (http://board.homeseer.com/showpost.p...2&postcount=70)

            Dirk

            Comment


              Originally posted by dcorsus View Post
              Things are moving fast. Link is now here (http://board.homeseer.com/showpost.p...2&postcount=70)

              Dirk
              Thanks again for the update Dirk. I did grab and install. Interestingly, one of my favorites does now work, so there has been change. However, still having issues. As I am running a beta I have posted details to the beta thread. Appreciate it!

              Comment


                Comment


                  Who fixed it? Ws it me or the HS team? It does sound familiar though. Can you grab some screenshots and show how it messes up the rooms? Perhaps take a debug log while you are doing whatever doesn't work....

                  Thanks

                  Dirk

                  Comment


                    Thanks a lot for getting back to me.
                    You fixed it. Here is the thread: http://board.homeseer.com/showthread.php?t=157933
                    Last edited by diderikfrom; February 3, 2016, 01:22 PM. Reason: typo

                    Comment


                      Originally posted by diderikfrom View Post
                      Thanks a lot for getting back to me.
                      You fixed it. Here is the thread: http://board.homeseer.com/showthread.php?t=157933
                      The PI uses UDNs to identify a player, the name, whether changed or in (problematic Norwegian :-)) should never create duplicate devices .... unless this was a while back (as in at least 1/2 year ago).

                      Dirk

                      Comment


                        OK, this was a while back (for now I've just kept the odd name). I'll change the room name, and see what happens.

                        You're probably right, so then the only problem is that plugin does not retrieve zone names correctly and displays them incorrectly in the config.

                        Comment


                          Originally posted by diderikfrom View Post
                          OK, this was a while back (for now I've just kept the odd name). I'll change the room name, and see what happens.

                          You're probably right, so then the only problem is that plugin does not retrieve zone names correctly and displays them incorrectly in the config.
                          So tell me what isn't working, I assume we are talking about the HS3 variant of this PI, which was built on top of the HS2 variant, so from the post you sent me, it appeared to be only an issue with calling up the player pages. Don't think I changed that code but you never know. If it doesn't work, take traces !
                          Would also recommend to post this in the HS3 thread, this is the HS2 associated thread.

                          Dirk

                          Comment


                            Originally posted by dcorsus View Post
                            Would also recommend to post this in the HS3 thread, this is the HS2 associated thread.
                            Dirk
                            Sorry, didn't realize that. Just to close this, see below.

                            Originally posted by dcorsus View Post
                            So tell me what isn't working, I assume we are talking about the HS3 variant of this PI.
                            Dirk
                            Player names with Norwegian characters are not identifed correctly, see screenshot.
                            Attached Files

                            Comment


                              Originally posted by diderikfrom View Post
                              Sorry, didn't realize that. Just to close this, see below.



                              Player names with Norwegian characters are not identifed correctly, see screenshot.
                              Found the issue. Will post new version in the course of next week. Can you confirm you were using the R3.1.0.x version and not the R3.0.0.x version. I fixed it in the prior and suspect it wasn't an issue in the latter.

                              Dirk

                              Comment


                                album art size

                                does anyone know how I can resize the album art when I bring it into HS Designer? I am building my own players and the art is stretched. thanks in advance.

                                Comment

                                Working...
                                X