Jump to content

DLNA device profiles, different capabilities in one file


Recommended Posts

Posted (edited)
My specific issue lies with two devices in my home: Sony BDP-S390 and BDP-S5100. 

 

Long story short, there doesn't appear to be an acceptable/reliable way to differentiate these two devices using HTTP Headers or DMR responses. Therefore, they end up using the same DLNA profile in Emby.

 

I have 100% reliable playback on the 5100 with disk backups to mkv done with makemkv (DVD backup, MKV, mpeg2video, AC3). BUT, the 390 refuses to play any mkv I have thrown at it. 

 

Any suggestions for getting mkv's to transcode to one device while direct playing them to another? 

Any possibility of doing direct profile assignment for just such an issue?

Perhaps an option within the profile to put an IP, similar to how we can designate a user to always use a profile?

 

Not entirely relevant to the questions above, but I'm attaching my current working profile for the 5100, which the 390 uses as well, with failing mkvs on the 390.

Sony Blu-ray Player 5100 test.xml

Edited by GB Utah
Happy2Play
Posted (edited)

There is nothing unique you can add in the Identification section to differentiate between the two (two separate profiles)?  Have you looked each devices decription.xml?  You should see a link to it in your logs.

Edited by Happy2Play
Posted

Funny you should mention that. I did start by looking for just such a thing. I seem to be either off track or I'm unclear how to use what I've found.

 

I did not see a description.xml for the the BDP devices, but I did find a dmr.xml and I have the DeviceSpy results, which pretty much show the same information plus ProtocolInfo.

 

From the dmr.xml, the only thing that stands out is the UDN(uuid). However there is a hardwareId that may be useful for the 5100. I haven't found any way to make use of this information though. I've tried to match on UDN in the HTTP headers, but was unsuccessful.

 

 

Here's what's in the dmr.xmls

<?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:MediaRenderer:1</deviceType>

<friendlyName>Blu-ray Disc Player</friendlyName>

<manufacturer>Sony Corporation</manufacturer>

<manufacturerURL>http://www.sony.net/</manufacturerURL>

<modelName>Blu-ray Disc Player</modelName>

<UDN>uuid:00000000-0000-1010-8000-3c077150459f</UDN>

<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>

<dlna:X_DLNACAP xmlns:dlna="urn:schemas-dlna-org:device-1-0">playcontainer-1-0</dlna:X_DLNACAP>


-<iconList>


-<icon>

<mimetype>image/jpeg</mimetype>

<width>120</width>

<height>120</height>

<depth>24</depth>

<url>/bdp_ax_device_icon_large.jpg</url>

</icon>


-<icon>

<mimetype>image/png</mimetype>

<width>120</width>

<height>120</height>

<depth>24</depth>

<url>/bdp_ax_device_icon_large.png</url>

</icon>


-<icon>

<mimetype>image/jpeg</mimetype>

<width>48</width>

<height>48</height>

<depth>24</depth>

<url>/bdp_ax_device_icon_small.jpg</url>

</icon>


-<icon>

<mimetype>image/png</mimetype>

<width>48</width>

<height>48</height>

<depth>24</depth>

<url>/bdp_ax_device_icon_small.png</url>

</icon>

</iconList>


-<serviceList>


-<service>

<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>

<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>

<SCPDURL>/RenderingControlBdpSCPD.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>


-<service>

<serviceType>urn:schemas-sony-com:service:Party:1</serviceType>

<serviceId>urn:schemas-sony-com:serviceId:Party</serviceId>

<SCPDURL>/PartySCPD.xml</SCPDURL>

<controlURL>/upnp/control/Party</controlURL>

<eventSubURL>/upnp/event/Party</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>

</device>

</root>

S390 above

<?xml version="1.0"?>

-<root xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation" xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11" xmlns="urn:schemas-upnp-org:device-1-0">


-<specVersion>

<major>1</major>

<minor>0</minor>

</specVersion>


-<device>

<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>

<friendlyName>Blu-ray Disc Player</friendlyName>

<manufacturer>Sony Corporation</manufacturer>

<manufacturerURL>http://www.sony.net/</manufacturerURL>

<modelName>Blu-ray Disc Player</modelName>

<modelNumber>BDP-2013</modelNumber>

<UDN>uuid:00000000-0000-1010-8000-d8d43c401bed</UDN>

<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>

<dlna:X_DLNACAP xmlns:dlna="urn:schemas-dlna-org:device-1-0">playcontainer-1-0</dlna:X_DLNACAP>


-<iconList>


-<icon>

<mimetype>image/jpeg</mimetype>

<width>120</width>

<height>120</height>

<depth>24</depth>

<url>/bdp_bx_device_icon_large.jpg</url>

</icon>


-<icon>

<mimetype>image/png</mimetype>

<width>120</width>

<height>120</height>

<depth>24</depth>

<url>/bdp_bx_device_icon_large.png</url>

</icon>


-<icon>

<mimetype>image/jpeg</mimetype>

<width>48</width>

<height>48</height>

<depth>24</depth>

<url>/bdp_bx_device_icon_small.jpg</url>

</icon>


-<icon>

<mimetype>image/png</mimetype>

<width>48</width>

<height>48</height>

<depth>24</depth>

<url>/bdp_bx_device_icon_small.png</url>

</icon>

</iconList>


-<serviceList>


-<service>

<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>

<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>

<SCPDURL>/RenderingControlBdpSCPD.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>


-<service>

<serviceType>urn:schemas-sony-com:service:Party:1</serviceType>

<serviceId>urn:schemas-sony-com:serviceId:Party</serviceId>

<SCPDURL>/PartySCPD.xml</SCPDURL>

<controlURL>/upnp/control/Party</controlURL>

<eventSubURL>/upnp/event/Party</eventSubURL>

</service>

</serviceList>

<av:X_StandardDMR xmlns:av="urn:schemas-sony-com:av">1.1</av:X_StandardDMR>

<microsoft:magicPacketWakeSupported xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0"> 1 </microsoft:magicPacketWakeSupported>

<pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001</pnpx:X_compatibleId>

<pnpx:X_deviceCategory>MediaDevices</pnpx:X_deviceCategory>

<pnpx:X_hardwareId>VEN_0106&DEV_0300&REV_01</pnpx:X_hardwareId>

<df:X_deviceCategory>Multimedia.DMR</df:X_deviceCategory>

</device>

</root>

S5100 above

 

 

anderbytes
Posted

Hey, isn't there somewhere where you can give a NAME to the TV, inside it's configuration?

 

I managed to tell apart TV's of the same model because one of the headers sent by TV is the name of itself. Then I use the field found in debug mode to filter by substring, searching for the name of that TV.

 

 

Seems complicated? Yeah a little... we are still waiting for a feature where Emby helps us creating profiles accurately.

  • 6 months later...
Posted

The latest beta of Emby Server, 3.1.125, has numerous fixes for Sony Blu ray players from years 2013-2016. The changes will also be in the next stable release of Emby Server. Since I have a device for testing I am now able to test it fully and with the changes I've made everything is now playing perfectly.

It's possible that some of these improvements can be applied to older players or sony bravia tv's, but I do not have those devices available to test with, so for that I'll need to rely on community help. Enjoy.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...