Announcement

Collapse
No announcement yet.

Support for Sony TV, Bluray, Media Player

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

    Support for Sony TV, Bluray, Media Player

    As of beta v.18, the DLNA Manager plugin now supports a Sony Network Media Player SMP-N200.

    I particularly like this device a good bit. It has a good selection of supported channels like Netflix, HuluPlus ... but what I like about Sony is that is exposes a "remote control" function through its UPnP interface. You cannot turn the power on, but you can turn it off, you can navigate through menus with buttons now under HS control. Moreover, as a slideshow renderer device, the Sony SMP-N200 goes smooth from one picture to another, the remote is pretty sleek and for the UPnP experts, this devices supports a SetNextAVTransportURI UPnP function which means that you can load the next object in it while it is rendering the current providing a smooth transition.

    I would like users who have DLNA enabled Sony TVs or BR players to provide some feedback as to how this plugin detects the devices and what the "Remote Service" function detects and which buttons it creates.

    Thanks

    Dirk

    note: you can find the plugin here http://board.homeseer.com/showpost.p...34&postcount=1
    Last edited by dcorsus; April 4, 2012, 09:38 AM. Reason: added link to download

    #2
    Sony BDP-S570

    I installed v18 and did a search, but it did not add my Blu Ray to the device table. However, the BluRay did show up as a found device in the log. Was it supposed to add each of the found devices to the device table?


    3/4/2012 9:41:14 PM ~!~DLNA_Manager~!~DLNA_ManagerConfig.aspx called with PageIsValid = True and Postback = False
    3/4/2012 9:41:18 PM ~!~DLNA_Manager~!~DLNA_ManagerConfig.aspx called with PageIsValid = True and Postback = True
    3/4/2012 9:41:18 PM ~!~DLNA_Manager~!~SearchUPnP_Click called
    3/4/2012 9:41:18 PM ~!~DLNA Manager~!~DiscoverUPNP called
    3/4/2012 9:41:27 PM ~!~DLNA Manager~!~DiscoverUPNP found device = WGT624v4 (Gateway)
    3/4/2012 9:41:27 PM ~!~DLNA Manager~!~ DiscoverUPNP found documentURL = http://10.0.0.1:5000/Public_UPNP_gatedesc.xml
    3/4/2012 9:41:28 PM ~!~DLNA Manager~!~ DiscoverUPNP for device = WGT624v4 (Gateway) found Child = WAN Device
    3/4/2012 9:41:28 PM ~!~DLNA Manager~!~ DiscoverUPNP for device = WGT624v4 (Gateway) and Child = uuid:82db4227-9090-ba12-3350-73036632d814 found documentURL = http://10.0.0.1:5000/Public_UPNP_gatedesc.xml
    3/4/2012 9:41:33 PM ~!~DLNA Manager~!~DiscoverUPNP found device = HomeSeer(organiza-0e5408)
    3/4/2012 9:41:33 PM ~!~DLNA Manager~!~ DiscoverUPNP found documentURL = http://10.0.0.3:16682/desc.xml
    3/4/2012 9:41:33 PM ~!~DLNA Manager~!~Error in DiscoverUPNP for service = HomeSeer(organiza-0e5408) with error=Exception from HRESULT: 0x80040500
    3/4/2012 9:41:33 PM ~!~DLNA Manager~!~DiscoverUPNP found device = Blu-ray Disc Player
    3/4/2012 9:41:33 PM ~!~DLNA Manager~!~ DiscoverUPNP found documentURL = http://10.0.0.9:50001/Ircc.xml
    3/4/2012 9:41:34 PM ~!~DLNA Manager~!~DiscoverUPNP done!

    Comment


      #3
      Originally posted by lastdarkjedi View Post
      I installed v18 and did a search, but it did not add my Blu Ray to the device table. However, the BluRay did show up as a found device in the log. Was it supposed to add each of the found devices to the device table?


      3/4/2012 9:41:14 PM ~!~DLNA_Manager~!~DLNA_ManagerConfig.aspx called with PageIsValid = True and Postback = False
      3/4/2012 9:41:18 PM ~!~DLNA_Manager~!~DLNA_ManagerConfig.aspx called with PageIsValid = True and Postback = True
      3/4/2012 9:41:18 PM ~!~DLNA_Manager~!~SearchUPnP_Click called
      3/4/2012 9:41:18 PM ~!~DLNA Manager~!~DiscoverUPNP called
      3/4/2012 9:41:27 PM ~!~DLNA Manager~!~DiscoverUPNP found device = WGT624v4 (Gateway)
      3/4/2012 9:41:27 PM ~!~DLNA Manager~!~ DiscoverUPNP found documentURL = http://10.0.0.1:5000/Public_UPNP_gatedesc.xml
      3/4/2012 9:41:28 PM ~!~DLNA Manager~!~ DiscoverUPNP for device = WGT624v4 (Gateway) found Child = WAN Device
      3/4/2012 9:41:28 PM ~!~DLNA Manager~!~ DiscoverUPNP for device = WGT624v4 (Gateway) and Child = uuid:82db4227-9090-ba12-3350-73036632d814 found documentURL = http://10.0.0.1:5000/Public_UPNP_gatedesc.xml
      3/4/2012 9:41:33 PM ~!~DLNA Manager~!~DiscoverUPNP found device = HomeSeer(organiza-0e5408)
      3/4/2012 9:41:33 PM ~!~DLNA Manager~!~ DiscoverUPNP found documentURL = http://10.0.0.3:16682/desc.xml
      3/4/2012 9:41:33 PM ~!~DLNA Manager~!~Error in DiscoverUPNP for service = HomeSeer(organiza-0e5408) with error=Exception from HRESULT: 0x80040500
      3/4/2012 9:41:33 PM ~!~DLNA Manager~!~DiscoverUPNP found device = Blu-ray Disc Player
      3/4/2012 9:41:33 PM ~!~DLNA Manager~!~ DiscoverUPNP found documentURL = http://10.0.0.9:50001/Ircc.xml
      3/4/2012 9:41:34 PM ~!~DLNA Manager~!~DiscoverUPNP done!
      It should show up in the DLNA Manager Table on the DLNA Config page provided it supports any of the UPnP services that this plugin is looking for. Could you turn debug and superdebug flag on and restart HS or wait until the next round of discovery kicks in and email me that log.

      Thanks

      Dirk
      ps sorry for the late response, not sure why I didn't get an email for this posting from the bulletin tool

      Comment


        #4
        I turned on the debug and super debug flags and then waited for an autodiscover. Here is the log. It look as if it detects the Blu Ray, but it does not show up in the device table.


        3/14/2012 9:56:04 PM - DLNA Manager - DoRediscover called
        3/14/2012 9:56:04 PM - DLNA Manager - DetectUPnPDevices called with Refresh = True
        3/14/2012 9:56:04 PM - DLNA Manager - GetIniSection called with Section = UPnP Devices to discover
        3/14/2012 9:56:04 PM - DLNA Manager - GetIniSection called with Section = UPnP Devices to discover
        3/14/2012 9:56:04 PM - DLNA Manager - FindUPnPDevice: Attempting to locate all connected. This may take up to 9 seconds.
        3/14/2012 9:56:10 PM - DLNA Manager - MPTimeout called
        3/14/2012 9:56:10 PM - DLNA Manager - MPTimeout done
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice - Discovery succeeded: 3 UPnPDevice(s) found.
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found device = urn:schemas-upnp-org:device:InternetGatewayDevice:1 with FriendlyName = WGT624v4 (Gateway)
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found documentURL = http://10.0.0.1:5000/Public_UPNP_gatedesc.xml
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found IPAddress = 10.0.0.1
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found IPPort = 5000
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found Child device = urn:schemas-upnp-org:device:WANDevice:1 with FriendlyName = WAN Device
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found device = urn:schemas-upnp-org:device:HomeSeer:1 with FriendlyName = HomeSeer(organiza-0e5408)
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found documentURL = http://10.0.0.3:16682/desc.xml
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found IPAddress = 10.0.0.3
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found IPPort = 16682
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found device = urn:schemas-upnp-org:device:Basic:1 with FriendlyName = Blu-ray Disc Player
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found documentURL = http://10.0.0.9:50001/Ircc.xml
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found IPAddress = 10.0.0.9
        3/14/2012 9:56:13 PM - DLNA Manager - FindUPnPDevice found IPPort = 50001
        3/14/2012 9:56:13 PM - DLNA Manager - DetectUPnPDevices added a total of 0 devices
        3/14/2012 9:56:13 PM - DLNA Manager - CreateUPnPControllers found 1 devices and ActivateTheZone = False

        Comment


          #5
          Lastdarkjedi,

          for some reason, all your posts show up as "moderated". Not sure why, maybe because you are new to the forum.

          So I missed your posting and probably others couldn't even see it. Have approved this posting so now it will be visible.

          The DLNA manager plugin is different than the Samsung Remote, in that you first need to "Add" the device for HS to be able to control it. So in the DLNA Config page, click on those devices that you are interested in, after you add them, you should be able to use them. In some cases (like the Sony remote functions) you may have to "register" them. Do note that most DLNA devices expect you to "Authenticate and accept" them, so read up on your devices. My Samsung TV will pop up a message when I try to use the remote functions. My Sony SMP-N200 media player must be placed in some "discovery" mode first while registering the plugin.

          Dirk

          Comment


            #6
            I have done everything I can think of but the BluRay player does even not show up in the device table in the plug-in, so I cannot add it. I tried using the "Register Remote" function on the BluRay. This is the menu button I used to register my IPhone. I pressed the button, then did a search on the DLNA manager, but nothing happened. I looked up in the BluRay manual about DLNA settings. It shows a menu for DLNA settings in the manual, but the menu does not accually show up on the BluRay. I know that the DLNA for the BluRay works because I can see my computers media (video, pictures, music) on the BluRay where it shows DLNA media.

            Why does the plug-in show the BluRay in the log when it does a search, but does not show it in the table.

            Comment


              #7
              Good question and the way you asked it made me look at the trace a bit better. The reason it shows up in the log and not in the DLNA table is because it advertizes a devices that I'm not familiar with ie urn:schemas-upnp-org:device:Basic:1. Could you open a browser and key in http://10.0.0.9:50001/Ircc.xml as URL and email me the result. Would be interested to see what Sony implemented. Is this an "older" or more recent device?
              Dirk

              Comment


                #8
                Originally posted by dcorsus View Post
                Good question and the way you asked it made me look at the trace a bit better. The reason it shows up in the log and not in the DLNA table is because it advertizes a devices that I'm not familiar with ie urn:schemas-upnp-org:device:Basic:1. Could you open a browser and key in http://10.0.0.9:50001/Ircc.xml as URL and email me the result. Would be interested to see what Sony implemented. Is this an "older" or more recent device?
                Dirk
                Just looked up the definition of "urn:schemas-upnp-org:device:Basic:1"

                "Basic:1.0 provides a mechanism for products that wish to use UPnP, but for which there is not yet an appropriate standard base device type. The Basic Device type does not define any Services or embedded Devices, although a particular product may incorporate elements defined by other UPnP Standards and/or vendor-defined extension types.
                A minimal Basic Device (one that does not add any services or embedded devices) is discoverable using UPnP discovery and may provide identifying information and a Presentation URL using the normal Device Description mechanism
                ."

                I suspect it is used to make the device discoverable but not have any UPnP/DLNA functions supported. Let's see what the URL I asked you to pull up shows.

                Dirk

                Comment


                  #9
                  Sure, I will get it to you tonight. The player is a Sony BDP-S580. It is less than two years old.

                  Comment


                    #10
                    Here is the code from the xml file


                    <?xml version="1.0"?>
                    <root xmlns="urn:schemas-upnp-org:device-1-0">
                    <specVersion>
                    <major>1</major>
                    <minor>0</minor>
                    </specVersion>
                    <device>
                    <deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
                    <friendlyName>Blu-ray Disc Player</friendlyName>
                    <manufacturer>Sony Corporation</manufacturer>
                    <manufacturerURL>http://www.sony.net/</manufacturerURL>
                    <modelDescription></modelDescription>
                    <modelName>Blu-ray Disc Player</modelName>
                    <modelURL></modelURL>
                    <UDN>uuid:00000000-0000-1010-8000-544249bd7901</UDN>
                    <serviceList>
                    <service>
                    <serviceType>urn:schemas-sony-com:service:IRCC:1</serviceType>
                    <serviceId>urn:schemas-sony-com:serviceId:IRCC</serviceId>
                    <SCPDURL>/IRCCSCPD.xml</SCPDURL>
                    <controlURL>/upnp/control/IRCC</controlURL>
                    <eventSubURL>/upnp/event/IRCC</eventSubURL>
                    </service>
                    </serviceList>
                    <presentationURL></presentationURL>
                    <av:X_IRCC_DeviceInfo xmlns:av="urn:schemas-sony-com:av">
                    <av:X_IRCC_Version>1.0</av:X_IRCC_Version>
                    <av:X_IRCC_CategoryList>
                    <av:X_IRCC_Category>
                    <av:X_CategoryInfo>AAMAABxa</av:X_CategoryInfo>
                    </av:X_IRCC_Category>
                    </av:X_IRCC_CategoryList>
                    </av:X_IRCC_DeviceInfo>
                    <av:X_UNR_DeviceInfo xmlns:av="urn:schemas-sony-com:av">
                    <av:X_UNR_Version>1.0</av:X_UNR_Version>
                    <av:X_CERS_URL>http://10.0.0.9:50002/</av:X_CERS_URL>
                    <av:X_CERS_ActionList_URL>http://10.0.0.9:50002/</av:X_CERS_ActionList_URL>
                    <av:X_Remote_Type>BDPlayer2010</av:X_Remote_Type>
                    </av:X_UNR_DeviceInfo>
                    </device>
                    </root>

                    Comment


                      #11
                      Originally posted by lastdarkjedi View Post
                      Here is the code from the xml file


                      <?xml version="1.0"?>
                      <root xmlns="urn:schemas-upnp-org:device-1-0">
                      <specVersion>
                      <major>1</major>
                      <minor>0</minor>
                      </specVersion>
                      <device>
                      <deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
                      <friendlyName>Blu-ray Disc Player</friendlyName>
                      <manufacturer>Sony Corporation</manufacturer>
                      <manufacturerURL>http://www.sony.net/</manufacturerURL>
                      <modelDescription></modelDescription>
                      <modelName>Blu-ray Disc Player</modelName>
                      <modelURL></modelURL>
                      <UDN>uuid:00000000-0000-1010-8000-544249bd7901</UDN>
                      <serviceList>
                      <service>
                      <serviceType>urn:schemas-sony-com:service:IRCC:1</serviceType>
                      <serviceId>urn:schemas-sony-com:serviceId:IRCC</serviceId>
                      <SCPDURL>/IRCCSCPD.xml</SCPDURL>
                      <controlURL>/upnp/control/IRCC</controlURL>
                      <eventSubURL>/upnp/event/IRCC</eventSubURL>
                      </service>
                      </serviceList>
                      <presentationURL></presentationURL>
                      <av:X_IRCC_DeviceInfo xmlns:av="urn:schemas-sony-com:av">
                      <av:X_IRCC_Version>1.0</av:X_IRCC_Version>
                      <av:X_IRCC_CategoryList>
                      <av:X_IRCC_Category>
                      <av:X_CategoryInfo>AAMAABxa</av:X_CategoryInfo>
                      </av:X_IRCC_Category>
                      </av:X_IRCC_CategoryList>
                      </av:X_IRCC_DeviceInfo>
                      <av:X_UNR_DeviceInfo xmlns:av="urn:schemas-sony-com:av">
                      <av:X_UNR_Version>1.0</av:X_UNR_Version>
                      <av:X_CERS_URL>http://10.0.0.9:50002/</av:X_CERS_URL>
                      <av:X_CERS_ActionList_URL>http://10.0.0.9:50002/</av:X_CERS_ActionList_URL>
                      <av:X_Remote_Type>BDPlayer2010</av:X_Remote_Type>
                      </av:X_UNR_DeviceInfo>
                      </device>
                      </root>
                      Actually this looks promising, it has no UPnP functions but it does seem to support remote control functions. I'll have to add this device and make a few minor changes so I'll try to get it into the next beta, hopefully over the weekend. There is one more piece of info that I would like to see. Can you open that browser again and post what http://10.0.0.9:50001/IRCCSCPD.xml returns and what http://10.0.0.9:50002/actionlist returns
                      Thanks
                      Dirk

                      Comment


                        #12
                        Originally posted by lastdarkjedi View Post
                        Sure, I will get it to you tonight. The player is a Sony BDP-S580. It is less than two years old.
                        Two years is ancient history

                        Comment


                          #13
                          Here is the IRCCSCPD page. The actionlist page came back "HTTP 403 Forbidden".

                          <?xml version="1.0"?>
                          <scpd xmlns="urn:schemas-upnp-org:service-1-0">
                          <specVersion>
                          <major>1</major>
                          <minor>0</minor>
                          </specVersion>

                          <actionList>
                          <action>
                          <name>X_SendIRCC</name>
                          <argumentList>
                          <argument>
                          <name>IRCCCode</name>
                          <direction>in</direction>
                          <relatedStateVariable>X_A_ARG_TYPE_IRCCCode</relatedStateVariable>
                          </argument>
                          </argumentList>
                          </action>

                          <action>
                          <name>X_GetStatus</name>
                          <argumentList>
                          <argument>
                          <name>CategoryCode</name>
                          <direction>in</direction>
                          <relatedStateVariable>X_A_ARG_TYPE_Category</relatedStateVariable>
                          </argument>
                          <argument>
                          <name>CurrentStatus</name>
                          <direction>out</direction>
                          <relatedStateVariable>X_A_ARG_TYPE_CurrentStatus</relatedStateVariable>
                          </argument>
                          <argument>
                          <name>CurrentCommandInfo</name>
                          <direction>out</direction>
                          <relatedStateVariable>X_A_ARG_TYPE_CurrentCommandInfo</relatedStateVariable>
                          </argument>
                          </argumentList>
                          </action>
                          </actionList>

                          <serviceStateTable>
                          <stateVariable sendEvents="no">
                          <name>X_A_ARG_TYPE_IRCCCode</name>
                          <dataType>string</dataType>
                          </stateVariable>
                          <stateVariable sendEvents="no">
                          <name>X_A_ARG_TYPE_Category</name>
                          <dataType>string</dataType>
                          </stateVariable>
                          <stateVariable sendEvents="no">
                          <name>X_A_ARG_TYPE_CurrentStatus</name>
                          <dataType>string</dataType>
                          </stateVariable>
                          <stateVariable sendEvents="no">
                          <name>X_A_ARG_TYPE_CurrentCommandInfo</name>
                          <dataType>string</dataType>
                          </stateVariable>
                          </serviceStateTable>
                          </scpd>

                          Comment


                            #14
                            Originally posted by lastdarkjedi View Post
                            Here is the IRCCSCPD page. The actionlist page came back "HTTP 403 Forbidden".

                            <?xml version="1.0"?>
                            <scpd xmlns="urn:schemas-upnp-org:service-1-0">
                            <specVersion>
                            <major>1</major>
                            <minor>0</minor>
                            </specVersion>

                            <actionList>
                            <action>
                            <name>X_SendIRCC</name>
                            <argumentList>
                            <argument>
                            <name>IRCCCode</name>
                            <direction>in</direction>
                            <relatedStateVariable>X_A_ARG_TYPE_IRCCCode</relatedStateVariable>
                            </argument>
                            </argumentList>
                            </action>

                            <action>
                            <name>X_GetStatus</name>
                            <argumentList>
                            <argument>
                            <name>CategoryCode</name>
                            <direction>in</direction>
                            <relatedStateVariable>X_A_ARG_TYPE_Category</relatedStateVariable>
                            </argument>
                            <argument>
                            <name>CurrentStatus</name>
                            <direction>out</direction>
                            <relatedStateVariable>X_A_ARG_TYPE_CurrentStatus</relatedStateVariable>
                            </argument>
                            <argument>
                            <name>CurrentCommandInfo</name>
                            <direction>out</direction>
                            <relatedStateVariable>X_A_ARG_TYPE_CurrentCommandInfo</relatedStateVariable>
                            </argument>
                            </argumentList>
                            </action>
                            </actionList>

                            <serviceStateTable>
                            <stateVariable sendEvents="no">
                            <name>X_A_ARG_TYPE_IRCCCode</name>
                            <dataType>string</dataType>
                            </stateVariable>
                            <stateVariable sendEvents="no">
                            <name>X_A_ARG_TYPE_Category</name>
                            <dataType>string</dataType>
                            </stateVariable>
                            <stateVariable sendEvents="no">
                            <name>X_A_ARG_TYPE_CurrentStatus</name>
                            <dataType>string</dataType>
                            </stateVariable>
                            <stateVariable sendEvents="no">
                            <name>X_A_ARG_TYPE_CurrentCommandInfo</name>
                            <dataType>string</dataType>
                            </stateVariable>
                            </serviceStateTable>
                            </scpd>
                            OK, this is going to work, just need to make some changes but principle appears the same as my Sony SMP-N200. Forgot that we need to authenticate first that's why you have the error 403-Forbidden.

                            Stay tuned

                            Dirk

                            Comment


                              #15
                              I had an idea to click the Start Registration button on the BluRay, then try the actionlist link. It came back "HTTP 404 Not Found". So, when I tried it the first time and it cam back forbidden, it was because the BluRay was not in registration mode.

                              Comment

                              Working...
                              X