Luke 42077 Posted June 20, 2025 Posted June 20, 2025 You should enter at least one criteria in the Identification section, and at least one in the http headers section (also under Identification). The values you should use can be found in the log. Using manufacturer and/or model name is the most common.
Richard Branches 330 Posted June 20, 2025 Author Posted June 20, 2025 6 hours ago, beckfield said: 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. I still see the same result in the new log. embyserver.txt 6 hours ago, Happy2Play said: Source Ip: 192.168.18.208, UserAgent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50 This is the receiver.
beckfield 173 Posted June 21, 2025 Posted June 21, 2025 Richard, your original post mentioned that you are trying to do this for an Onkyo receiver, is that correct? None of the log files you've provided even mention Onkyo, which I would expect to see if the Onkyo successfully established a DLNA connection to the Emby server. I'd like to have you follow these steps precisely to see if we can get what we need. Sorry if this is overly specific, but I want to be sure we are getting precisely what we need: Turn the Onkyo off. On your Emby server, on the DLNA Settings page, UNcheck the "Enable DLNA debug logging" option and click "Save." On the Logs Settings page, set the "Enable debug logging" to "Yes." Turn the Onkyo on. Go to the DLNA area and select the Emby server, so you see the libraries. On the Emby server, go to the Logs page, refresh the page to be sure you see the latest log file, and download the "embyserver.txt" file at the top of the list. It should have a timestamp of the last minute or so. Attach that log file for us to see. If you've created a custom DLNA profile for the Onkyo, please screenshot the contents of the profile, including the contents of the "Identification" section. We don't need the sections below Identification.
Richard Branches 330 Posted June 21, 2025 Author Posted June 21, 2025 I've been doing what you suggest but I still don't see anything about onkyo in the log. embyserver.txt Anyway, we should be able to see all available DLNA devices in the server's UI and customize each one independently without having to do all this which seems to be a hassle, it doesn't make it an easy task for non-tech people.
beckfield 173 Posted June 21, 2025 Posted June 21, 2025 I'm afraid I'm at a loss. I don't understand how the Onkyo is connecting to the Emby server and not getting logged. Without that, I don't know where to go from here. Maybe the Emby folks can provide some insights.
Happy2Play 9780 Posted June 21, 2025 Posted June 21, 2025 Something does seem right but you can create a Onkyo profile with the user-agent. dLeyna/0.5.0
Richard Branches 330 Posted June 21, 2025 Author Posted June 21, 2025 Ok so I'm trying to create the profile and I see that the identification header is different than the one @beckfieldshows in the instructions he created, I see more fields, can you please clarify what should I put in each one?
Happy2Play 9780 Posted June 21, 2025 Posted June 21, 2025 Your client is not providing that info per your logs so all you can do is the info you have available ie the useragent. Just like in your case (per step 7) it is UserAgent not User-Agent per your log.
Richard Branches 330 Posted June 21, 2025 Author Posted June 21, 2025 1 hour ago, Happy2Play said: so all you can do is the info you have available ie the useragent. I know but in which field should I put it?
Happy2Play 9780 Posted June 21, 2025 Posted June 21, 2025 1 minute ago, Richard Branches said: I know but in which field should I put it? As beckfield has already shown in linked topic but Click create profile Give it any name you like Go to Identification and apply your UserAgent As for match it depends on if you enter everything or a partial string. In my case was a partial string so I used Substring Match Hit Save Restarted DLNA server Launched client 2025-06-21 13:16:41.777 Debug DLNA: Found matching device profile: VLC Profile Now editing all capabilities is really another story and don't believe the UI is really that helpful sometimes. But will want to look at other profiles to modify playback capabilities. Custom profile location
Richard Branches 330 Posted June 21, 2025 Author Posted June 21, 2025 1 hour ago, Happy2Play said: Go to Identification and apply your UserAgent I don't see this anywhere, just the fields in the screenshot I shared earlier.
beckfield 173 Posted June 21, 2025 Posted June 21, 2025 (edited) At the bottom of the Identification section, click on the '+' next to "HeaderHttpHeaders": Edited June 21, 2025 by beckfield 1
Happy2Play 9780 Posted June 21, 2025 Posted June 21, 2025 6 minutes ago, Richard Branches said: I don't see this anywhere, just the fields in the screenshot I shared earlier. Did you click the + button?
Richard Branches 330 Posted June 21, 2025 Author Posted June 21, 2025 That single step is not explained in @beckfield's instructions shared by @Happy2Playhence why I couldn't find it. Should I put the whole string dLeyna/0.5.0 or just dLeyna ?
Richard Branches 330 Posted June 21, 2025 Author Posted June 21, 2025 Sorry for asking too much but I feel like a newbie: What should I put in name and what should I put in value? What is the "match type" for?
Happy2Play 9780 Posted June 21, 2025 Posted June 21, 2025 1 minute ago, Richard Branches said: That single step is not explained in @beckfield's instructions shared by @Happy2Playhence why I couldn't find it. Should I put the whole string dLeyna/0.5.0 or just dLeyna ? LOL Step 6 But I would test but probably just dLeyna and match Substring.
beckfield 173 Posted June 21, 2025 Posted June 21, 2025 (edited) Following Happy2Play's advice: I probably should have added an extra screenshot on that step. Unfortunately I can't edit the post anymore. Edited June 21, 2025 by beckfield
beckfield 173 Posted June 21, 2025 Posted June 21, 2025 The Match Types determine whether the content in the Value field is the complete string ("equals") or partial ("Substring"). "Regex" tells me that Regular Expressions can be used, but I can't imagine why that would ever be needed (and I couldn't help you with it anyway). I have to agree, this whole process is far from user-friendly. But this (Emby) is also my first experience with DLNA in any detail. I'm fairly tech-savvy, but not a code writer, so I have no idea how much easier it could possibly be. I'd guess there's a fair amount of room for improvement.
Richard Branches 330 Posted June 22, 2025 Author Posted June 22, 2025 It appears it doesn't have any effect, I still see all media libraries despite I only check the audio checkbox:
beckfield 173 Posted June 22, 2025 Posted June 22, 2025 (edited) Ok, that brings us to the post I added in this thread, after they referred you to the steps I wrote. That setting (Supported Media Types) doesn't have the effect you (and I) thought it would. What you need to do next is to create a new User that will be used for your DLNA device. In Settings > Users, click on "+ New User": Give this new user a name of your choice. I called mine "dlna Devices," but it can be whatever you want (other than "Richard," obviously): I don't think any other settings on the Profile page are relevant, so leave them alone, and click on the "Access" tab: Here, leave "Enable access to all libraries" disabled, and de-select the libraries that you don't want to see on the Onkyo. "Playlists" seems to be selected and unchangeable, so you won't be able to hide that. Click 'Save.' Back in your Custom DLNA Device profile, drop down the "User Library" list. You should see the name of the new User you just created. Select it, and click "Save." Allow the Onkyo to re-establish connection to the Emby server, and you should see only the libraries you selected in step three. Edited June 22, 2025 by beckfield
beckfield 173 Posted June 22, 2025 Posted June 22, 2025 (edited) I just noticed something in your last post. Your screenshot shows that you used "Match Type" of "Equals," rather than "Substring" in your HttpHeader, as Happy2Play instructed: Edited June 22, 2025 by beckfield
Richard Branches 330 Posted June 23, 2025 Author Posted June 23, 2025 I tried all three options but didn't see any difference.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now