Jump to content

How to Customize Dlna Server


Recommended Posts

Richard Branches
Posted

Question out of topic:

How can I customize the DLNA server?

I test it with the Onkyo receiver and it goes great, however, since the receiver only plays audio, I don't want to see the rest of video libraries, but I haven't found a way to hide those and just leave the music library.

Posted

@Richard Branchesin dlna server options you select the user you want to portray the library based on, and then the library display will be based on that user.

Richard Branches
Posted

Hello, so I see the below screenshot where I select the user:

image.png.828dd3f970c880cc909ed0d8fe75b565.png

And then I see the "Profiles" tab with some system profiles and the ability to create a new one but there's a bunch of options unknown for me, I imagine I just have to create a profile for the receiver or that isn't necessary, correct?:

image.png.be0bd887376e2a6d1b311d67e8468329.png

Posted

You could do that if you need something specific for a particular device.

Richard Branches
Posted

What I want is to hide the video libraries and keep the music library visible.

Posted
35 minutes ago, Richard Branches said:

What I want is to hide the video libraries and keep the music library visible.

OK then yes, the path you've outlined above is what you'd need to do.

Richard Branches
Posted

How do I create a custom profile for the receiver?

What options do I have to use?

Happy2Play
Posted
7 minutes ago, Richard Branches said:

How do I create a custom profile for the receiver?

What options do I have to use?

What profile is your device using per your server log now?

But you will want to enable DLNA debug logging to capture some device info and click on the profile it is currently using and modify it with custom info and give it a different name and save.

Richard Branches
Posted
42 minutes ago, Happy2Play said:

What profile is your device using per your server log now?

I have no idea, should I share the server log?

42 minutes ago, Happy2Play said:

But you will want to enable DLNA debug logging to capture some device info and click on the profile it is currently using and modify it with custom info and give it a different name and save.

I will try that then.

Posted

@beckfieldhad written a great posting about this. Do you recall where that was?

Happy2Play
Posted
16 hours ago, Luke said:

@beckfieldhad written a great posting about this. Do you recall where that was?

Looks like this one.

 

  • Thanks 2
beckfield
Posted (edited)

One thing not covered in that process write-up:

@Luketold me the following:

Quote

Currently supported media types does not change what is presented to the device. We probably should, but that doesn't happen right now.
In the meantime, the only way to do this would be to create a separate user that only has access to the audio libraries, and then in your new dlna profile, set that user as the user library to be displayed. 
This will achieve what you want, albeit with the drawback that anything you play won't be reflected in the user data of the user that you normally use.

Pursuant to that, in addition to the custom DLNA profile, I created a new User on my Emby server:

image.png.cca0277f7f9bbdd3419dd3f9b8065137.png

When creating that user, I think I left every setting at the default on the first tab (Profile), other than giving it a name.  The important stuff is on the "Access" tab, where you select the libraries this user will have access to.  Then I used this user to connect the DLNA device to the Emby server.  This is what will determine which libraries are displayed on your DLNA device.

 

Edited by beckfield
  • Thanks 1
Richard Branches
Posted

Hello folks!

Thank you so much for helping me with this, but today has been a busy day for me and I haven't had the time to follow the instructions, I will do that as soon as I can!.

Richard Branches
Posted

So I enabled DLNA debug logging and then I played a song but I don't see anything helpful about the profile of the receiver in the server log, please take a look:

embyserver.txt

Posted

What did you see?

Richard Branches
Posted

I just don't see anything about the receiver's profile anywhere in the log:

DLNADOC/1.50, Accept-Ranges=bytes, Cache-Control=private, no-transform, ETag="f12286d483057d9b7b120f9b30ff166c", Content-Length=145653080, Cross-Origin-Resource-Policy=cross-origin, Private-Network-Access-Name=RDRB, Private-Network-Access-Id=d6b61a1d80d64a1eb52b3a5b137505b8
 

Richard Branches
Posted (edited)

I wonder if those instructions are tailored to personalize the DLNA server when using the Emby app to push the content from the DLNA server to the receiver instead of accessing the DLNA server directly from the receiver which is what I have been doing.

Edited by Richard Branches
Happy2Play
Posted
4 hours ago, Richard Branches said:

So I enabled DLNA debug logging and then I played a song but I don't see anything helpful about the profile of the receiver in the server log, please take a look:

embyserver.txt 42.09 kB · 0 downloads

Not seeing any "Debug DLNA" logging in the log.

Can't remember but may need to enable debug logging in log also.

Richard Branches
Posted
4 minutes ago, Happy2Play said:

may need to enable debug logging in log also

Ok, I will try again as soon as I can, thanks.

Richard Branches
Posted

I enabled debug on both the server and DLNA and I still don't see what to look for in that log:

embyserver.txt

Happy2Play
Posted

Looks like you have two devices using Default profile

first being really generic

Source Ip: ‌‍‍192.168.18.158‌, UserAgent: DLNA/1.0 DLNADOC/1.50 UPnP/1.0

and the other with a different useragent that can be used for a custom profile

Source Ip: ‌‍‍192.168.18.208‌, UserAgent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50

still not seeing device info.

@Lukeis that info only via upnp like from a beckfield log?  As OP log does not appear to have any of this info.

Spoiler

2025-06-19 09:18:49.870 Debug DLNA: Response from http://192.168.1.69:8888/upnp_descriptor_0: <?xml version="1.0" encoding="utf-8"?><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>CR-N755</friendlyName><manufacturer>ONKYO</manufacturer><manufacturerURL>http://www.onkyo.com</manufacturerURL><modelDescription>AV/CD Receiver</modelDescription><modelName>CR-N755</modelName><modelNumber>CR-N755</modelNumber><modelURL>http://www.onkyo.com</modelURL><UDN>uuid:fad44c92-a24c-92b6-1e2e-9262a2b6c076</UDN><serviceList><service><serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType><serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId><controlURL>/upnp_control_0</controlURL><eventSubURL>/upnp_event_0</eventSubURL><SCPDURL>/scpd/RenderingControl_1</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>/upnp_control_1</controlURL><eventSubURL>/upnp_event_1</eventSubURL><SCPDURL>/scpd/ConnectionManager_1</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType><serviceId>urn:upnp-org:serviceId:AVTransport</serviceId><controlURL>/upnp_control_2</controlURL><eventSubURL>/upnp_event_2</eventSubURL><SCPDURL>/scpd/AVTransport_1</SCPDURL></service></serviceList><presentationURL>http://192.168.1.69/</presentationURL><pnpx:X_hardwareId xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11">VEN_1666&amp;DEV_1200&amp;REV_01 VEN_0033&amp;DEV_000C&amp;REV_01</pnpx:X_hardwareId><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC><df:X_deviceCategory xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation">Multimedia.DMR</df:X_deviceCategory><pnpx:X_compatibleId xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11">MS_DigitalMediaDeviceClass_DMR_V001</pnpx:X_compatibleId><iconList><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>http://192.168.1.69/icon/mini_120.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>http://192.168.1.69/icon/mini_048.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>32</width><height>32</height><depth>24</depth><url>http://192.168.1.69/icon/mini_032.jpg</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>http://192.168.1.69/icon/mini_120.png</url></icon><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>http://192.168.1.69/icon/mini_048.png</url></icon><icon><mimetype>image/png</mimetype><width>32</width><height>32</height><depth>24</depth><url>http://192.168.1.69/icon/mini_032.png</url></icon></iconList><pnpx:X_deviceCategory xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11">MediaDevices</pnpx:X_deviceCategory><microsoft:magicPacketWakeSupported xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0">0</microsoft:magicPacketWakeSupported><microsoft:X_magicPacketSendSupported xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0">1</microsoft:X_magicPacketSendSupported></device></root>
2025-06-19 09:18:49.874 Debug DLNA: Device Manufacturer: ONKYO
2025-06-19 09:18:49.874 Debug DLNA: Device Model Name: CR-N755
2025-06-19 09:18:49.874 Debug DLNA: RequestThrottleMs is 50ms for CR-N755
2025-06-19 09:18:49.874 Debug DLNA: Found device name CR-N755 from device properties

 

Richard Branches
Posted

Now that you mention, there are three smart TVs in the house which sport a DLNA feature plus the receiver, do you see the four in the log?

beckfield
Posted (edited)

Don't just play a song. I don't think that will create the log entry you need.  Turn the receiver off, then on, and let it establish connection with the Emby server.  Grab the log file after that.

Edited by beckfield
  • Like 1
Happy2Play
Posted
41 minutes ago, Richard Branches said:

Now that you mention, there are three smart TVs in the house which sport a DLNA feature plus the receiver, do you see the four in the log?

I see these three

Source Ip: ‌‍‍192.168.18.158‌, UserAgent: DLNA/1.0 DLNADOC/1.50 UPnP/1.0

Source Ip: ‌‍‍192.168.18.208‌, UserAgent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50

Source Ip: ‌‍‍192.168.18.247‌, UserAgent: Linux/5.4.268-223.29.okapi.pine.4 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/23.21.36 DLNADOC/1.50

 

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...