CFC 25 Posted March 29, 2016 Posted March 29, 2016 I'm trying to understand how I can modify the profile for my old Hp x280n MCE extender as a dlna player. How can I identify it in the logs? Do the profiles only apply to "Play To" targets, or do they also come into effect when playing directly from the device? The attached log is my attempt to stream the movies 300 and Animal House right after startup. The device's local ip is 192.168.1.130. Thanks for the help. CFC server-63594792227.txt
Luke 38844 Posted March 29, 2016 Posted March 29, 2016 as of right now you do need to get that info from the log. first enable debug logging. then when the device comes online you should see something to the effect of "no profile found, default profile will be used" 1
Happy2Play 9142 Posted March 29, 2016 Posted March 29, 2016 Something like this. 2016-03-28 18:01:35.0170 Debug Dlna: Found matching device profile: Samsung C Series Smart TV 2016-03-28 18:01:35.0170 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: UMS/6.2.1 WindowsServer2008R2/6.1 UPnP/1.0 Cling/2.0. 1
CFC 25 Posted March 29, 2016 Author Posted March 29, 2016 (edited) Thanks, so in order to do it, "Play To" needs to be enabled? Right now, I have it disabled, but I haven't been able to get my Play to devices to show up in the past few releases. Thanks, CFC Edit Didn't have to turn on "Play To". This is what I got from log: 2016-03-28 21:25:57.8137 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: iTunes/4.7.1 (Windows; N; Windows 8; 8664; EN; cp1252) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.7.5/1416570306. 2016-03-28 21:25:57.8293 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Android/5.1 UPnP/1.0 Cling/2.0. 2016-03-28 21:25:57.9230 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: DLNADOC/1.50 2016-03-28 21:25:58.2668 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Microsoft-Windows/6.1 UPnP/1.0. 2016-03-28 21:25:58.4387 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: FDSSDP. 2016-03-28 21:25:58.7824 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: DAFUPnP. 2016-03-28 21:25:58.7824 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Microsoft-Windows/10.0 UPnP/1.0 I assume one of these is referencing the x280n What do I need then to place in a profile so that it matches? Is it a matter of modifying the HTTP header section? Should something like: Name->UserAgent Value->DLNADOC/1.50 Match type->Equals work? CFC Edited March 29, 2016 by CFC
CFC 25 Posted March 29, 2016 Author Posted March 29, 2016 I got it, though I'm not sure which header is correct Which one do you suspect is the correct one? I suppose I could go through a process of elimination. I was able to successfully change the transcoding profile to "mpeg2video", which works a whole lot better. Thanks for the help CFC
Happy2Play 9142 Posted March 29, 2016 Posted March 29, 2016 That is a generic user-agent, do it will try to control more devices then it should. Two examples from my log. User-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50 User-Agent: Microsoft-DLNA DLNADOC/1.50 Have you enable DLNA debug logging and restarted your server? It will provide a lot more dlna logging. 1
CFC 25 Posted March 29, 2016 Author Posted March 29, 2016 (edited) I'd previously only enabled the general debug logging. I now enabled the DLNA debug as well (and removed the custom profile) These are the "No matching device profile" found after about ten minutes. I don't see any more specifically pointing to the HP extenders. They are at IP 192.168.1.130 and 192.168.1.148. In windows, they are normally labeled as "HP Mediasmart Connect" devices when looking in network, or media devices. 2016-03-29 05:59:03.6980 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: iTunes/4.7.1 (Windows; N; Windows 8; 8664; EN; cp1252) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.7.5/1416570306. 2016-03-29 05:59:03.7136 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Android/5.1 UPnP/1.0 Cling/2.0. 2016-03-29 05:59:03.7761 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: DLNADOC/1.50. 2016-03-29 05:59:03.9948 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: FDSSDP. 2016-03-29 05:59:05.1667 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: DAFUPnP. 2016-03-29 05:59:05.1980 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Microsoft-Windows/10.0 UPnP/1.0. 2016-03-29 05:59:05.9792 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Microsoft-Windows/6.1 UPnP/1.0. 2016-03-29 05:59:12.3371 Debug Dlna: No matching device profile via headers found. The default will be used. User-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50. There are also lines which don't indicate a "User-agent' at all but simply: Debug Dlna: No matching device profile via headers found. The default will be used. Does that indicate a device that does not have a user agent? I also attached the log. Any ideas? Thanks,CFC server-63594827939.txt Edited March 29, 2016 by CFC
CFC 25 Posted April 6, 2016 Author Posted April 6, 2016 (edited) I was able to identify my HP x280n units. They were the only devices with a user agent of "DLNADOC/1.50" only. I used the "equals" condition with the correct "User-agent" spelling on the http header. Verified that all my other devices identify correctly also. Thanks for the help again. CFC Edited April 6, 2016 by CFC
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