Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 No, that was it on that line Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 (edited) no, i assume thats what its detecting from the sonos itself. i've added some of it tom mine but i didn't know what the model no or url is is that what i need to do? update my prfile with that info? Edited August 12, 2014 by Spaceboy Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 12, 2014 Share Posted August 12, 2014 (edited) OST: 239.255.255.250:1900CACHE-CONTROL: max-age = 1800LOCATION: http://192.168.1.50:1400/xml/device_description.xmlNT: uuid:RINCON_000E58C7BAE401400NTS: ssdp:aliveSERVER: Linux UPnP/1.0 Sonos/27.2-80071 (ZPS1)USN: uuid:RINCON_000E58C7BAE401400X-RINCON-BOOTSEQ: 9X-RINCON-HOUSEHOLD: Sonos_b62ZP6dyphrboTkeqGtxpCZIAB Now it is a matter of figuring out where to put "Linux UPnP/1.0 Sonos/27.2-80071 (ZPS1)" in your profile. Edited August 12, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
arche 176 Posted August 12, 2014 Share Posted August 12, 2014 I had the same problem with NeoTV dlna, I had to use wireshark to fine the user-agent substring. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 is that what i should use as the agent bit? too late to test tonight, i'll get into trouble. tomorrow. cheers for your help Link to comment Share on other sites More sharing options...
arche 176 Posted August 12, 2014 Share Posted August 12, 2014 If you use wireshark to fine this info, try something like this for the filter: (ip.src == 192.168.1.5 && ip.dst == 192.168.1.127) || (ip.src == 192.168.1.127 && ip.dst == 192.168.1.5) replace 192.168.1.5 with your server IP replace 192.168.1.127 with the client IP just incase this helps. Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 12, 2014 Share Posted August 12, 2014 Since the server is providing this information I would mirror it as much as possible, and would remove the user-agent since the log isn't producing on right now. Have you enabled dlna debug logging to see if it provides you with more information? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 12, 2014 Share Posted August 12, 2014 (edited) From this post is should display this for the Sonos Play 5 or something very similar. Debug - Dlna: No matching device profile found. The default will be used. User-agent: Linux UPnP/1.0 Sonos/26.1-76230 (ZPS5) http://mediabrowser.tv/community/index.php?/topic/7796-calling-up-profiles-with-the-dlna-server/?p=105700 You could try customizing the default profile with that user-agent. But googling this shows these also. USER-AGENT: Linux UPnP/1.0 Sonos/19.4-59140 (MDCR_MacBookPro6,2) User-Agent: Linux UPnP/1.0 Sonos/24.0-69180 (WDCR:Microsoft Windows NT 6.2.9200.0) Edited August 12, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 12, 2014 Share Posted August 12, 2014 It doesn't show as user-agent in you log. But that would be the first thing to try. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 dunno what to say, this is the entire section: 2014-08-12 20:24:25.5605 Debug - HttpServer: HTTP POST http://myserver.org:8096/mediabrowser/Sessions/f81233ca48a44e74b75a441002074d43/Playing?ItemIds=62739508748882a82c6694152266e405&PlayCommand=PlayNow2014-08-12 20:24:25.5715 Debug - Dlna: 192.168.1.50 - Sonos PLAY:1 Bathroom - Received PlayRequest: PlayNow2014-08-12 20:24:25.5715 Debug - Dlna: No matching device profile found. The default will need to be used.2014-08-12 20:24:25.5715 Info - Dlna: No matching device profile found. The default will need to be used. DeviceDescription: FriendlyName:192.168.1.50 - Sonos PLAY:1 Bathroom Manufacturer:Sonos, Inc. ManufacturerUrl:http://www.sonos.com ModelDescription:Sonos PLAY:1 ModelName:Sonos PLAY:1 ModelNumber:S1 ModelUrl:http://www.sonos.com/products/zoneplayers/S1 SerialNumber: it then repeats that maybe 10 times. one thing i notice, should it being trying to use the external address? replaced with myserver.org. i've never used dlna before so really not sure what to expect? Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 also the last person in that thread seemed to get the same as me? Link to comment Share on other sites More sharing options...
arche 176 Posted August 12, 2014 Share Posted August 12, 2014 Try renaming the Default dlna profile and saving it. Once saved add this to the http header: name: User-Agent value: Linux UPnP/1.0 Sonos/19.4-59140 change the drop down to substring. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 yep lots more information! but still the same unfortunately Link to comment Share on other sites More sharing options...
arche 176 Posted August 12, 2014 Share Posted August 12, 2014 Could you post the log with the dlna debugging info. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 12, 2014 Share Posted August 12, 2014 (edited) i will but i need to clean it first, not very comfortable with how much it keeps logging my external address here it is https://dl.dropboxusercontent.com/u/39548367/Log.txt Edited August 12, 2014 by Spaceboy Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 13, 2014 Share Posted August 13, 2014 ok, i had already created a new profile, which i think i've configured but i can't see where to add what you are asking? do you mean in the web app or editing a text file somewhere? cheers Link to comment Share on other sites More sharing options...
arche 176 Posted August 13, 2014 Share Posted August 13, 2014 When your in the profile through the admin panel, go to identification and scroll to the bottom. Click on the plus sign for http headers. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 13, 2014 Share Posted August 13, 2014 still the same 2014-08-12 21:32:17.1603 Debug - Dlna: 192.168.1.50 - Sonos PLAY:1 Bathroom - Received PlayRequest: PlayNow2014-08-12 21:32:17.1603 Debug - Dlna: No matching device profile found. The default will need to be used.2014-08-12 21:32:17.1603 Info - Dlna: No matching device profile found. The default will need to be used. DeviceDescription: FriendlyName:192.168.1.50 - Sonos PLAY:1 Bathroom Manufacturer:Sonos, Inc. ManufacturerUrl:http://www.sonos.com ModelDescription:Sonos PLAY:1 ModelName:Sonos PLAY:1 ModelNumber:S1 ModelUrl:http://www.sonos.com/products/zoneplayers/S1 SerialNumber: at least its using the internal ip now. i don't understand how mb3 is suppsed to know what profile it needs to use? do i not have to link the device and the profile somehow? Link to comment Share on other sites More sharing options...
arche 176 Posted August 13, 2014 Share Posted August 13, 2014 Its most likely the header is wrong. Is there any other header in the profile you created? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 13, 2014 Share Posted August 13, 2014 (edited) Could you post your custom dlna profile? C:\Users\xxxxxxx\AppData\Roaming\MediaBrowser-Server\config\dlna\user Edited August 12, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
arche 176 Posted August 13, 2014 Share Posted August 13, 2014 (edited) I would change the http header to what @@Happy2Play suggested: User-Agent: Linux UPnP/1.0 Sonos/24.0-69180 (WDCR:Microsoft Windows NT 6.2.9200.0) It is just easier to delete the old header and add this one. The one I suggested might be outdated. Edited August 12, 2014 by nirvmedia Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 13, 2014 Share Posted August 13, 2014 so the http header is how it matches the device and profile? just want to understand profile attached, its probably wrong! https://dl.dropboxusercontent.com/u/39548367/Sonos%201.xml Link to comment Share on other sites More sharing options...
arche 176 Posted August 13, 2014 Share Posted August 13, 2014 I would try changing the header. User-Agent: Linux UPnP/1.0 Sonos/24.0-69180 (WDCR:Microsoft Windows NT 6.2.9200.0) Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 13, 2014 Share Posted August 13, 2014 This is interesting, is your Sonos on ip .50 or .27 Dlna: 192.168.1.50 - Sonos PLAY:1 Bathroom LOCATION: http://192.168.1.27:1400/xml/device_description.xml Line 27951 HOST: 239.255.255.250:1900CACHE-CONTROL: max-age = 1800LOCATION: http://192.168.1.27:1400/xml/device_description.xmlNT: upnp:rootdeviceNTS: ssdp:aliveSERVER: Linux UPnP/1.0 Sonos/27.2-80071 (BR100)USN: uuid:RINCON_B8E93713693A01400::upnp:rootdeviceX-RINCON-BOOTSEQ: 7X-RINCON-HOUSEHOLD: Sonos_b62ZP6dyphrboTkeqGtxpCZIAB Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 14, 2014 Share Posted August 14, 2014 hi, i tried that line above as the user agent but still not go. it still doesn't report anything in the log, mp3's play fine but flac and alac do not. i'm still completely baffled how the device an the profile are matched Link to comment Share on other sites More sharing options...
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