FAQ  •  Register  •  Login

Why is not this TV recognized as "Sony Bravia TV"?

<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Sun Apr 03, 2011 5:45 pm

Why is not this TV recognized as "Sony Bravia TV"?

Unless I explicitly tell (via serviio-console), that this particular device is a Bravia, Serviio will apply "generic" profile to the player rendering it unusable for video-watching...

The headers, according to the DEBUG-log, are:
  Code:
2011-04-03 13:40:13,667 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 81f02b02-9ef6-3ce6-abcd-30578ac46920 from 192.168.1.3 (headers = [Host: 192.168.1.8:8895,Date: Thu, 01 Jan 2009 00:04:30 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46XBR9";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46XBR9"; mv="1.7";])


Should the profiles.xml be amended as something like:
  Code:
-                                <FriendlyName>Bravia.*</FriendlyName>       
+                                <FriendlyName>B[Rr][Aa][Vv][Ii][Aa].*</FriendlyName>

?
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 03, 2011 6:23 pm

Re: Why is not this TV recognized as "Sony Bravia TV"?

Does the TV show up in Device Spy (Intel tools)? If yes, get it's properties and check the FriendlyName property.

The below log is a fallback detection (based on HTTP headers rather than on UPnPsearch of the device on your network)
<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Mon Apr 04, 2011 2:56 am

Re: Why is not this TV recognized as "Sony Bravia TV"?

zip wrote:Does the TV show up in Device Spy (Intel tools)? If yes, get it's properties and check the FriendlyName property.
The below log is a fallback detection (based on HTTP headers rather than on UPnPsearch of the device on your network)


Intel tools aren't available for Unix :( Is there any other tool you can suggest? Or, perhaps, Serviio can log such things too?
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 04, 2011 8:41 am

Re: Why is not this TV recognized as "Sony Bravia TV"?

It does log it. Turn on detailed logging, remove the device from the list in the console (and save) and restart Serviio. Then post the log.
<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Tue Apr 05, 2011 1:12 am

Re: Why is not this TV recognized as "Sony Bravia TV"?

zip wrote:Then post the log.

Here:
  Code:
2011-04-04 20:56:23,326 DEBUG [WebServer] Incoming connection from /192.168.1.3:1177
2011-04-04 20:56:23,326 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 81f02b02-9ef6-3ce6-abcd-30578ac46920 from 192.168.1.3 (headers = [Host: 192.168.1.8:8895,Date: Thu, 01 Jan 2009 01:29:38 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46XBR9";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46XBR9"; mv="1.7";])
2011-04-04 20:56:23,326 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,327 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,328 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2011-04-04 20:56:23,341 DEBUG [WebServer] Incoming connection from /192.168.1.3:1178
2011-04-04 20:56:23,341 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ConnectionManager
2011-04-04 20:56:23,341 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-04-04 20:56:23,353 DEBUG [WebServer] Incoming connection from /192.168.1.3:1179
2011-04-04 20:56:23,353 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ContentDirectory
2011-04-04 20:56:23,354 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-04-04 20:56:23,373 DEBUG [WebServer] Incoming connection from /192.168.1.3:1180
2011-04-04 20:56:23,374 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from 192.168.1.3:
2011-04-04 20:56:23,374 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,375 DEBUG [MediaItemDAOImpl] Getting file of media item 9111
2011-04-04 20:56:23,478 DEBUG [ServiceControlRequestHandler] Returning OK SOAP mmessage
2011-04-04 20:56:23,479 DEBUG [MediaItemDAOImpl] Getting file of media item 9112
2011-04-04 20:56:23,481 DEBUG [WebServer] Incoming connection from /192.168.1.3:1181
2011-04-04 20:56:23,482 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"' from 192.168.1.3:
2011-04-04 20:56:23,482 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,584 DEBUG [MediaItemDAOImpl] Getting file of media item 9113
2011-04-04 20:56:23,587 DEBUG [ConnectionManager] Sending protocol info using profile 'Generic DLNA profile'
2011-04-04 20:56:23,589 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-04-04 20:56:23,657 DEBUG [WebServer] Incoming connection from /192.168.1.3:1182
2011-04-04 20:56:23,657 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 81f02b02-9ef6-3ce6-abcd-30578ac46920 from 192.168.1.3 (headers = [Host: 192.168.1.8:8895,Date: Thu, 01 Jan 2009 01:29:39 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46XBR9";,X-AV-Client-InfInfo: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46XBR9"; mv="1.7";])
2011-04-04 20:56:23,657 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,657 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,658 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2011-04-04 20:56:23,668 DEBUG [WebServer] Incoming connection from /192.168.1.3:1183
2011-04-04 20:56:23,669 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ConnectionManager
2011-04-04 20:56:23,669 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-04-04 20:56:23,681 DEBUG [WebServer] Incoming connection from /192.168.1.3:1184
2011-04-04 20:56:23,681 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ContentDirectory
2011-04-04 20:56:23,681 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-04-04 20:56:23,688 DEBUG [MediaItemDAOImpl] Getting file of media item 9114
2011-04-04 20:56:23,700 DEBUG [WebServer] Incoming connection from /192.168.1.3:1185
2011-04-04 20:56:23,700 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from 192.168.1.3:
2011-04-04 20:56:23,700 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,793 DEBUG [MediaItemDAOImpl] Getting file of media item 9115
2011-04-04 20:56:23,805 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-04-04 20:56:23,809 DEBUG [WebServer] Incoming connection from /192.168.1.3:1186
2011-04-04 20:56:23,809 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"' from 192.168.1.3:
2011-04-04 20:56:23,809 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.3
2011-04-04 20:56:23,897 DEBUG [MediaItemDAOImpl] Getting file of media item 9116
2011-04-04 20:56:23,913 DEBUG [ConnectionManager] Sending protocol info using profile 'Generic DLNA profile'
2011-04-04 20:56:23,916 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-04-04 20:56:24,002 DEBUG [MediaItemDAOImpl] Getting file of media item 9117
2011-04-04 20:56:24,106 DEBUG [MediaItemDAOImpl] Getting file of media item 9118
...

FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Apr 05, 2011 6:53 am

Re: Why is not this TV recognized as "Sony Bravia TV"?

When you compare with EX500 where are differences?
  Code:
2011-04-05 08:50:46,234 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 223a9375-eb61-3269-abcf-3ad9f2e63b1f from 192.168.1.9 (headers = [Host: 192.168.1.6:8895,Date: Tue, 05 Apr 2011 06:50:47 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-46EX501";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-46EX501"; mv="1.7";])
2011-04-05 08:50:46,234 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.9
2011-04-05 08:50:46,250 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.9
2011-04-05 08:50:46,656 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Sony Bravia TV'
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 05, 2011 9:11 am

Re: Why is not this TV recognized as "Sony Bravia TV"?

AFAIK Bravia's are visible in DeviceSpy, right? If yes, then the TV should respond to M-SEARCH request from Serviio and give it URL with it's description which Serviio then reads and decides on the profile.
If M-SEARCH doesn't return anything (ie not visible in DeviceSpy) then there is a fallback option to detect the device based on the HTTP headers of Serviio's DeviceDescription requests (as seen in your logs) - this is however not part of the Bravia profile. We can add that, no problem, but TV's that don't support M-SEARCH will always show orange dot in the console and the device name will be Unrecognized device.

Illico, can you confirm if your TV is visible in DeviceSpy?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Apr 05, 2011 11:23 am

Re: Why is not this TV recognized as "Sony Bravia TV"?

zip wrote:Illico, can you confirm if your TV is visible in DeviceSpy?

Yes I confirm, my Sony Bravia KDL-46EX501 is visible in DeviceSpy device list with the following xml description:
  Code:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11" xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation">
  <specVersion>
    <major>1</major>
    <minor>0</minor>
  </specVersion>
  <device>
    <deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
    <friendlyName>BRAVIA KDL-46EX501</friendlyName>
    <manufacturer>Sony Corporation</manufacturer>
    <manufacturerURL>http://www.sony.net/</manufacturerURL>
    <modelName>KDL-46EX501</modelName>
    <UDN>uuid:00000000-0000-1010-8000-0024BEF777B7</UDN>
    <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
    <iconList>
      <icon>
        <mimetype>image/png</mimetype>
        <width>32</width>
        <height>32</height>
        <depth>24</depth>
        <url>/MediaRenderer_32x32x24.png</url>
      </icon>
      <icon>
        <mimetype>image/png</mimetype>
        <width>48</width>
        <height>48</height>
        <depth>24</depth>
        <url>/MediaRenderer_48x48x24.png</url>
      </icon>
      <icon>
        <mimetype>image/png</mimetype>
        <width>60</width>
        <height>60</height>
        <depth>24</depth>
        <url>/MediaRenderer_60x60x24.png</url>
      </icon>
      <icon>
        <mimetype>image/png</mimetype>
        <width>120</width>
        <height>120</height>
        <depth>24</depth>
        <url>/MediaRenderer_120x120x24.png</url>
      </icon>
      <icon>
        <mimetype>image/jpeg</mimetype>
        <width>32</width>
        <height>32</height>
        <depth>24</depth>
        <url>/MediaRenderer_32x32x24.jpg</url>
      </icon>
      <icon>
        <mimetype>image/jpeg</mimetype>
        <width>48</width>
        <height>48</height>
        <depth>24</depth>
        <url>/MediaRenderer_48x48x24.jpg</url>
      </icon>
      <icon>
        <mimetype>image/jpeg</mimetype>
        <width>60</width>
        <height>60</height>
        <depth>24</depth>
        <url>/MediaRenderer_60x60x24.jpg</url>
      </icon>
      <icon>
        <mimetype>image/jpeg</mimetype>
        <width>120</width>
        <height>120</height>
        <depth>24</depth>
        <url>/MediaRenderer_120x120x24.jpg</url>
      </icon>
    </iconList>
    <serviceList>
      <service>
        <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
        <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
        <SCPDURL>/RenderingControlSCPD.xml</SCPDURL>
        <controlURL>/upnp/control/RenderingControl</controlURL>
        <eventSubURL>/upnp/event/RenderingControl</eventSubURL>
      </service>
      <service>
        <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
        <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
        <SCPDURL>/ConnectionManagerSCPD.xml</SCPDURL>
        <controlURL>/upnp/control/ConnectionManager</controlURL>
        <eventSubURL>/upnp/event/ConnectionManager</eventSubURL>
      </service>
      <service>
        <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
        <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
        <SCPDURL>/AVTransportSCPD.xml</SCPDURL>
        <controlURL>/upnp/control/AVTransport</controlURL>
        <eventSubURL>/upnp/event/AVTransport</eventSubURL>
      </service>
    </serviceList>
    <av:X_MaxBGMCount xmlns:av="urn:schemas-sony-com:av">64</av:X_MaxBGMCount>
    <av:X_StandardDMR xmlns:av="urn:schemas-sony-com:av">1.1</av:X_StandardDMR>
    <av:X_IRCCCodeList xmlns:av="urn:schemas-sony-com:av">
      <av:X_IRCCCode command="Power">AAAAAQAAAAEAAAAVAw==</av:X_IRCCCode>
      <av:X_IRCCCode command="Power ON">AAAAAQAAAAEAAAAuAw==</av:X_IRCCCode>
      <av:X_IRCCCode command="Power OFF">AAAAAQAAAAEAAAAvAw==</av:X_IRCCCode>
    </av:X_IRCCCodeList>
    <pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001</pnpx:X_compatibleId>
    <pnpx:X_deviceCategory>MediaDevices</pnpx:X_deviceCategory>
    <pnpx:X_hardwareId>VEN_SONY&amp;DEV_BRAVIA_DMR&amp;REV_01 VEN_0033&amp;DEV_0006&amp;REV_01 urn:schemas-upnp-org:device:MediaRenderer:1</pnpx:X_hardwareId>
    <df:X_deviceCategory>Display.TV Multimedia.DMR</df:X_deviceCategory>
  </device>
</root>


I removed all devices on Serviio Console, restart serviio service, power-on my Sony Bravia, and TV device appears in the console with Sony Profile automatically set.

So no problem for me.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

raddyb

Serviio newbie

Posts: 2

Joined: Thu Apr 28, 2011 12:48 pm

Post Thu Apr 28, 2011 1:15 pm

Re: Why is not this TV recognized as "Sony Bravia TV"?

Just to confirm, I have a Sony Bravia KDL-52Z5100, and it does not show up on Device Spy either. (For kot, check out the gupnp-tools at http://gupnp.org for Linux replacements of the Intel tools.) When my TV didn't show up using gupnp-tools, I booted Windows and tried the standard tools, but no device listing for the TV showed up there, either. Perhaps the US market TVs don't have all the features they should.

Now that I know what to look for in the DEBUG logs, I'll dig through them this weekend to see if I can get the HTTP header-recognition feature to work.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Apr 28, 2011 1:27 pm

Re: Why is not this TV recognized as "Sony Bravia TV"?

raddyb wrote:...Now that I know what to look for in the DEBUG logs, I'll dig through them this weekend to see if I can get the HTTP header-recognition feature to work.

We could test this :
  Code:
      <Detection>
         <UPnPSearch> <!-- for 2010 models -->
            <FriendlyName>.*BRAVIA.*</FriendlyName>
         </UPnPSearch>
         <HttpHeaders> <!-- for 2009 models -->
            <X-AV-Client-Info>.*BRAVIA.*</X-AV-Client-Info>
         </HttpHeaders>                       
      </Detection>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

raddyb

Serviio newbie

Posts: 2

Joined: Thu Apr 28, 2011 12:48 pm

Post Thu Apr 28, 2011 11:52 pm

Re: Why is not this TV recognized as "Sony Bravia TV"?

The good news is that the HttpHeaders search worked. Thanks, Illico.

The Video profiles also seem to work for my TV, though I did have to add some ffmpeg munging to do it. I have some video clips with audio recorded at 44100Hz that didn't play well with the current configuration. I couldn't figure out how to force a 48000Hz sample rate into the transcoding scheme, so I wrapped a shell script around ffmpeg to insert a '-ar 48000' before the '-ab' parameter, and this seemed to fix the audio dropout problem.

I can't seem to get any audio files or images to show up, though it's obvious from the TVs content selection menus that the items have been parsed by serviio.

According to the DLNA database, my model (KDL-52Z5100) does not support as wide a range of profiles as the EX models I've been reading.

Device Class: DMP
VIDEO: MPEG_PS_NTSC, MPEG_TS_SD_NA, MPEG_TS_SD_NA_ISO, MPEG_TS_SD_NA_T
AUDIO: LPCM, MP3
IMAGE: JPEG_SM, JPEG_LRG, JPEG_MED

And that's it. I've set up my own profile for this device so that I can play around with the configuration settings to see if I can get audio and images to work. I need to study the main BRAVIA thread to understand how the DLNA profiles are parsed, renamed, transcoded. It's tough since I don't even know what these things are supposed to mean. (For example: what does the JPEG_LRG profile mean? that kind of thing. I'm sure if I dig long enough, I can figure out some of this crap.)

Thanks for the software, zip, and thanks for all your experimentation efforts, illico!

Return to Sony

Who is online

Users browsing this forum: No registered users and 26 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.