beckfield 173 Posted June 19, 2025 Posted June 19, 2025 While refreshing my memory for this thread, I discovered what may be a logging issue. I have verified that my custom DLNA device profile, and the user I created to connect to the DLNA device, are functioning properly. The issue I'm seeing may simply be a logging issue, or I'm not understanding the log. Here is a snippet of the log: 2025-06-18 20:30:07.644 Debug DlnaServerService-0HNDERS7A4N81:00000001: http/1.1 GET http://192.168.1.80:8096/dlna/c0af0f04-fbee-4d97-994d-1b45ad3d66e4/description.xml. Source Ip: host2, UserAgent: Mediabolic-IMHTTP/1.8.225 UPNP/1.0 DLNADOC/1.50 2025-06-18 20:30:07.644 Debug DLNA: Found matching device profile: Onkyo CR-N755 2025-06-18 20:30:07.644 Debug DlnaServerService-0HNDERS7A4N81:00000001: http/1.1 Response 200 to host2. Time: 1ms. GET http://192.168.1.80:8096/dlna/c0af0f04-fbee-4d97-994d-1b45ad3d66e4/description.xml. 2025-06-18 20:30:07.694 Debug DlnaServerService-0HNDERS7A4N82:00000001: http/1.1 POST http://192.168.1.80:8096/dlna/c0af0f04-fbee-4d97-994d-1b45ad3d66e4/contentdirectory/control. Source Ip: host2, UserAgent: Mediabolic-IMHTTP/1.8.225 UPNP/1.0 DLNADOC/1.50 2025-06-18 20:30:07.702 Debug DLNA: Found matching device profile: Onkyo CR-N755 2025-06-18 20:30:07.718 Info DLNA: Using default profile for: DeviceDescription: FriendlyName:CR-N755 Manufacturer:ONKYO ManufacturerUrl:http://www.onkyo.com ModelDescription:AV/CD Receiver ModelName:CR-N755 ModelNumber:CR-N755 ModelUrl:http://www.onkyo.com SerialNumber: As you can see, it logged that it found the matching device profile ("Onkyo CR-N755"). But then it says "Using default profile for...", then lists most of the information that I entered in the device profile. I see two issues with this: 1. Why is it saying "...default profile..."? 2. It is missing the serial number that I entered in the profile: As I said, the system is working as expected. I'm just wondering if it's logging things correctly.
Luke 42077 Posted June 19, 2025 Posted June 19, 2025 Your profile wasn’t used. It doesn’t get those values from your profile but rather uses them for detection. So you probably entered too much therefore making the matching too tight.
beckfield 173 Posted June 19, 2025 Author Posted June 19, 2025 Okay, I removed a few things from the profile. I see several log entries where the device profile is found, but no "Using..." statements. I've attached a new log file. Is there a line that I should expect to see to know that the profile is being used? I'm beginning to wonder if it was ever used then. I assumed adding as much info as possible was a good thing. embyserver.txt
Luke 42077 Posted June 19, 2025 Posted June 19, 2025 If you only have one onkyo then you can just detect on manufacturer name alone
Luke 42077 Posted June 20, 2025 Posted June 20, 2025 In the Identification section of the profile, I would just do manufacturer Onkyo, in addition to whatever you have in the http headers section. Having said that though, if the profile isn't being used at all, and you're happy with current behavior, then you might not actually need it.
beckfield 173 Posted June 20, 2025 Author Posted June 20, 2025 20 minutes ago, Luke said: Having said that though, if the profile isn't being used at all, and you're happy with current behavior, then you might not actually need it. Yeah, this is pretty much the QA engineer in me, wanting to know how things work... 1
Happy2Play 9780 Posted June 20, 2025 Posted June 20, 2025 You could isolate just the useragent also in Identification/HeaderHttpHeaders also. Mediabolic-IMHTTP/1.8.225 1
beckfield 173 Posted June 20, 2025 Author Posted June 20, 2025 At this point, I'm pretty sure the custom profile is being used, because it is no longer saying that it is using the default profile.
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