Spaceboy 2494 Posted August 28, 2014 Share Posted August 28, 2014 ok, so an update. a recent update means more detail is captured in the log. i now see: 2014-08-27 22:50:39.8511 Debug - HttpServer: HTTP GET http://192.168.1.15:8096/mediabrowser/audio/813d9df6d0097128b0589b2d3cedf89c/stream.mp3?Params=;uuid:RINCON_000E58C7BAE401400;813d9df6d0097128b0589b2d3cedf89c;true;;;;;;;;;;;0; Ip: 192.168.1.50:36122. Headers: Connection=close,Accept=*/*,Host=192.168.1.15:8096,Range=bytes=2011739-,User-Agent=Sonos 2014-08-27 22:50:39.8601 Debug - Dlna: No matching device profile found. The default will be used. User-agent: Sonos. 2014-08-27 22:50:39.8601 Debug - HttpServer: HTTP Response 500 to 192.168.1.50. Response time: 101.0662 ms. Url: http://192.168.1.15:8096/mediabrowser/audio/813d9df6d0097128b0589b2d3cedf89c/stream.mp3?Params=;uuid:RINCON_000E58C7BAE401400;813d9df6d0097128b0589b2d3cedf89c;true;;;;;;;;;;;0; 2014-08-27 22:50:40.2694 Info - App: HttpClientManager POST: http://192.168.1.50:1400/MediaRenderer/RenderingControl/Control 2014-08-27 22:50:40.2994 Info - App: HttpClientManager POST: http://192.168.1.50:1400/MediaRenderer/AVTransport/Control 2014-08-27 22:50:40.2994 Info - App: HttpClientManager POST: http://192.168.1.50:1400/MediaRenderer/RenderingControl/Control 2014-08-27 22:50:40.3344 Info - App: HttpClientManager POST: http://192.168.1.50:1400/MediaRenderer/AVTransport/Control 2014-08-27 22:50:40.4245 Debug - Dlna: Sending alive notifications 2014-08-27 22:50:40.4245 Debug - Dlna: uuid:823620ca04c159fa0569d9bca29150e7::upnp:rootdevice said alive 2014-08-27 22:50:40.4245 Debug - Dlna: uuid:823620ca04c159fa0569d9bca29150e7::urn:schemas-upnp-org:device:MediaServer:1 said alive 2014-08-27 22:50:40.4245 Debug - Dlna: uuid:823620ca04c159fa0569d9bca29150e7::urn:schemas-upnp-org:service:ContentDirectory:1 said alive 2014-08-27 22:50:40.4245 Debug - Dlna: NOTIFY Device message received from 192.168.1.15:1900. Headers: HOST=239.255.255.250:1900,CACHE-CONTROL=max-age = 600,LOCATION=http://192.168.1.15:8096/mediabrowser/dlna/823620ca04c159fa0569d9bca29150e7/description.xml,SERVER=WIN32/6.2 UPnP/1.0 DLNADOC/1.5 MediaBrowser/3.0.5351.40457,NTS=ssdp:alive,NT=upnp:rootdevice,USN=uuid:823620ca04c159fa0569d9bca29150e7::upnp:rootdevice 2014-08-27 22:50:40.4245 Debug - Dlna: uuid:823620ca04c159fa0569d9bca29150e7 said alive 2014-08-27 22:50:40.4245 Debug - Dlna: NOTIFY Device message received from 192.168.1.15:1900. Headers: HOST=239.255.255.250:1900,CACHE-CONTROL=max-age = 600,LOCATION=http://192.168.1.15:8096/mediabrowser/dlna/823620ca04c159fa0569d9bca29150e7/description.xml,SERVER=WIN32/6.2 UPnP/1.0 DLNADOC/1.5 MediaBrowser/3.0.5351.40457,NTS=ssdp:alive,NT=urn:schemas-upnp-org:device:MediaServer:1,USN=uuid:823620ca04c159fa0569d9bca29150e7::urn:schemas-upnp-org:device:MediaServer:1 2014-08-27 22:50:40.4375 Debug - Dlna: NOTIFY Device message received from 192.168.1.15:1900. Headers: HOST=239.255.255.250:1900,CACHE-CONTROL=max-age = 600,LOCATION=http://192.168.1.15:8096/mediabrowser/dlna/823620ca04c159fa0569d9bca29150e7/description.xml,SERVER=WIN32/6.2 UPnP/1.0 DLNADOC/1.5 MediaBrowser/3.0.5351.40457,NTS=ssdp:alive,NT=urn:schemas-upnp-org:service:ContentDirectory:1,USN=uuid:823620ca04c159fa0569d9bca29150e7::urn:schemas-upnp-org:service:ContentDirectory:1 2014-08-27 22:50:40.4375 Debug - Dlna: NOTIFY Device message received from 192.168.1.15:1900. Headers: HOST=239.255.255.250:1900,CACHE-CONTROL=max-age = 600,LOCATION=http://192.168.1.15:8096/mediabrowser/dlna/823620ca04c159fa0569d9bca29150e7/description.xml,SERVER=WIN32/6.2 UPnP/1.0 DLNADOC/1.5 MediaBrowser/3.0.5351.40457,NTS=ssdp:alive,NT=uuid:823620ca04c159fa0569d9bca29150e7,USN=uuid:823620ca04c159fa0569d9bca29150e7 2014-08-27 22:50:40.5256 Error - Dlna: Error reporting progress Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). System.FormatException at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException) at System.Guid.TryParseGuidWithDashes(String guidString, GuidResult& result) at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) at System.Guid..ctor(String g) at MediaBrowser.Server.Implementations.Session.SessionManager.<OnPlaybackStopped>d__45.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Dlna.PlayTo.PlayToController.<ReportPlaybackStopped>d__f.MoveNext() so its now showing some detail on the client. but what should i do next to connect my created profile with this client? cheers! Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted August 29, 2014 Share Posted August 29, 2014 Anyone any idea how this should work? What tells mbs which profile it should use? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted August 30, 2014 Share Posted August 30, 2014 (edited) Dlna: No matching device profile found. The default will be used. User-agent: Sonos Well the server is now seeing User-agent: Sonos. So if you still have "Linux UPnP/1.0 Sonos/19.4-59140" in your Sonos profile change it to just "Sonos". Edited August 29, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 2, 2014 Share Posted September 2, 2014 still no change, i tried using Sonos and Sonos PLAY:1 Bathroom. still the same in the log,although sometimes it doesn't show the user agent either. anything else i can try? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 2, 2014 Share Posted September 2, 2014 It is really generic but you could try user-agent "UPnP/1.0". Note this may affect other devices since that is a generic user agent. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 9, 2014 Share Posted September 9, 2014 ok, i think *think* that somehow mbs has started seeing the user-agent=Sonos consistently, its got a bit more confused because i added another dnla device (raspberry pi works well with default). but i'm still having trouble playing flac and alac to it even though i think ive set the settings right in the profile, what should i be looking for? cheers Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 12, 2014 Share Posted September 12, 2014 Anyone? Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 17, 2014 Share Posted September 17, 2014 right, i'd really like to have a good go at getting this working tonight. does anyone have any advice on how this should work? cheers Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 18, 2014 Share Posted September 18, 2014 i just to play music to my sonos (play 5) and if i send an album (mp3s) to it, it only plays the first track and then stops... is that what you all are seeing as well? do i need to edit my profile.. i've not touched anything in the dnla profile section so im totally default at this point... Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 19, 2014 Share Posted September 19, 2014 dunno, i've only concentrated on single tracks at the moment, but i'm almost finished at work so i'll try it. for me the problem seems to be that MBS seems to recognise there is a matching profile, but it totally ignores it. it tries to transcode when it should be playing directly. and then the transcoding fails as well and there's no clear explanation in the log why that might be. i'm a blind man fishing in the dark at the moment 1 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 19, 2014 Share Posted September 19, 2014 Can you post the media info of something that should work but is failing. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 19, 2014 Share Posted September 19, 2014 they are just vanilla alac or flac files. they all play fine through the sonos controller Link to comment Share on other sites More sharing options...
Luke 37095 Posted September 20, 2014 Share Posted September 20, 2014 It needs to be tested individually per device. It will get fixed when someone with the know how and the device steps to find out whats missing. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 20, 2014 Share Posted September 20, 2014 i just to play music to my sonos (play 5) and if i send an album (mp3s) to it, it only plays the first track and then stops... is that what you all are seeing as well? do i need to edit my profile.. i've not touched anything in the dnla profile section so im totally default at this point... yep seeing the same. dlna playing the album from the album screen just plays the first song. works fine in the browser 1 Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 20, 2014 Share Posted September 20, 2014 a typical alac file: Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 20, 2014 Share Posted September 20, 2014 thanks for confirming spaceboy.. @@Luke is this something that we as users can look into or is there a known reason the server isnt passing the rest of the tracks when it plays track 1 just fine? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 21, 2014 Share Posted September 21, 2014 @@Spaceboy Can you post this Device_description.xml. http://192.168.1.50:1400/xml/device_description.xml Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 21, 2014 Share Posted September 21, 2014 @@Happy2Play i can Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 21, 2014 Share Posted September 21, 2014 (edited) @@Spaceboy Just a shot in the dark but try this. removed old xml. Edited September 25, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 21, 2014 Share Posted September 21, 2014 guys im happy to test anything as well... was lost reading all the p**x dnla forums trying to see if they had anything that could help luke and the team here for us Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 21, 2014 Share Posted September 21, 2014 @MrWebsmith depending on which Sonos you have it maybe just a matter of changing a number in profile right now. Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 21, 2014 Share Posted September 21, 2014 currently just a play 5 in use... i dont have any flac or alac to try like spaceboy has been fighting with.. for me its just that im trying to play/queue and album (mp3s) and it always only plays the 1st track and stops afterwards let me know what changes you suggest and ill give it a go... reading the hopper/joey stuff you are on a roll helping with these issues! thank you for your hard work! Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 21, 2014 Share Posted September 21, 2014 hi, so i tried your xml in place of mine and something different is happening. it still doesnt play flac or alac unfortunately and still plays all mp3s but looking through the log mbs seems to be receiving some messages back from the sonos, but its still not identifying the profile with the device. i see plenty of Found matching device profile: Raspberry Pi but nothing for the sonos. i only see a few of Debug - Dlna: No matching device profile found. The default will be used. i'll try searching through the log to see if i can find anything else helpful Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 23, 2014 Share Posted September 23, 2014 (edited) Found this on Sonos and don't know if applies to all servers. At present you can queue single tracks to Sonos, but not whole albums http://forums.sonos.com/showpost.php?p=229566&postcount=2 @@Spaceboy can you try this in existing xml. <Identification> <FriendlyName>192.168.1.47 - Sonos PLAY:1</FriendlyName> <ModelNumber>S1</ModelNumber> <ModelName>Play:1</ModelName> <ModelUrl>http://www.sonos.com/products/zoneplayers/S1</ModelUrl> <Manufacturer>Sonos, Inc.</Manufacturer> <ManufacturerUrl>http://www.sonos.com/</ManufacturerUrl> <Headers /> </Identification> Edited September 22, 2014 by Happy2Play 1 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 23, 2014 Share Posted September 23, 2014 (edited) Unforunately no because the friendly name is specific to you and the Sonos PLAY:1. @Spaceboy Could you with try this. Does it work without the header? <Identification> <FriendlyName></FriendlyName> <ModelNumber /> <SerialNumber /> <ModelName /> <DeviceDescription /> <ModelUrl /> <Manufacturer>Sonos, Inc.</Manufacturer> <ManufacturerUrl>http://www.sonos.com</ManufacturerUrl> <Headers> <HttpHeaderInfo name="User-Agent" value="Sonos" match="Substring" /> </Headers> </Identification> @MrWebsmith Could you test this also. Sonos Play.xml Edited September 27, 2014 by Happy2Play 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