Spaceboy 2494 Posted September 24, 2014 Share Posted September 24, 2014 Found this on Sonos and don't know if applies to all servers. 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> top man @@Happy2Play. that did it, i left in the http headers and its now playing flac and alac. i can play whole albums as well. so the only thing you changed was the friendly name, which now matches mine, will this work as a generic profile for other users? Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 24, 2014 Share Posted September 24, 2014 i'll take a look. just to put this down as a marker so i don't forget, the dashboard doesn't report playback progress. i assumed that wasn't implemented but i see luke asking about it on another thread. i guess this is to do with configuring the responses section Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 24, 2014 Share Posted September 24, 2014 (edited) def will test this... to confirm: i put this xml into the root server directory next to the other device profiles and restart mbs right? THANKS for continuing to work on this with us! Edited September 24, 2014 by MrWebsmith Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 24, 2014 Share Posted September 24, 2014 Put it into username\appdata\roaming\mediabrowser-server\config\dlna\user or something close to that. I didn't have to restart to get changes to take effect Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 24, 2014 Share Posted September 24, 2014 got it.. thanks.. its there now.. i will test it out when i get back home tonight Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 25, 2014 Share Posted September 25, 2014 Let me know if that profile works then I will use some more of my best guess work on protocolinfo and/or response profiles. Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 25, 2014 Share Posted September 25, 2014 all done. the profile works and playback progress is reported correctly. cheers @@Happy2Play profile attached for adding to system @@Luke Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 25, 2014 Share Posted September 25, 2014 (edited) @@Spaceboy Does the profile need the user-agents? Edit Since (ZPS1) is only for the PLAY:1. Edited September 25, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 25, 2014 Share Posted September 25, 2014 (edited) @@CBers Could you try the profile in post #76 to see if it works with the Sonos PlayBar? edited post number Edited September 25, 2014 by Happy2Play Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 25, 2014 Share Posted September 25, 2014 Should the image support be added also? Album Art Supported JPEG, PNG, BMP, GIF Link to comment Share on other sites More sharing options...
CBers 6771 Posted September 25, 2014 Share Posted September 25, 2014 @@CBers Could you try the profile in post #76 to see if it works with the Sonos PlayBar? edited post number Will do, but it'll be the weekend before I get a chance. Link to comment Share on other sites More sharing options...
im85288 1493 Posted September 25, 2014 Share Posted September 25, 2014 @@Happy2Play - tested this out and happy to say it's working fine for PlayBar without the user-agents: As this was my first time setting up a profile I add the following tips for anyone trying to use the default profile given in post 76 Goto DLNA->Profiles->Sonos Play->Identification Look in the server log and enter the following info - Friendly Name, Model Name, Model number, Model url So as it seems tied down to the Friendly name etc it seems like a profile will be needed for each Sonos device. Nice work Happy2Play Link to comment Share on other sites More sharing options...
CBers 6771 Posted September 25, 2014 Share Posted September 25, 2014 @@im85288 - is it worth creating a pull request for these profiles? Link to comment Share on other sites More sharing options...
im85288 1493 Posted September 25, 2014 Share Posted September 25, 2014 @@CBers - I do not know if that would help as it seems to need some info like the friendly name etc which varies per device. I think it "should" be possible for @@Luke to use the default Sonos template given in Post 76 and then to create profiles dynamically on what the server discovers with regards Sonos Devices as all the info is available in the server logs. But Luke would need to comment on if this is possible or not.. 2 Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 25, 2014 Share Posted September 25, 2014 (edited) not sure what i did wrong but... i put the xml from post 76 into the user config folder... it sees it as a custom profile.. i select my sonos as the device to control from the web client and i tried to play an album from the play button on the album level detail page and i get this error.. happens on both mobile and desktop chrome https://www.dropbox.com/s/mto95hta67dgayj/Screenshot_2014-09-25-09-09-31.png?dl=0 if it helps the web client sees my device as "192.168.1.13 - Sonos PLAY:5 Kitchen" Edited September 25, 2014 by MrWebsmith Link to comment Share on other sites More sharing options...
im85288 1493 Posted September 25, 2014 Share Posted September 25, 2014 You need to enter the info I detailed in my post above, so friendly name, model number etc Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 25, 2014 Share Posted September 25, 2014 Gotcha thanks..I'll try it out in a bit Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 25, 2014 Share Posted September 25, 2014 Anyone know what the proper regex would be to cover (ip - Sonos Play:x location). Or will there have to be profiles for each Sonos device? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 25, 2014 Share Posted September 25, 2014 Sorry cut that line off. There are several around here. 2014-09-25 14:34:10.4145 Info - Dlna: No matching device profile found. The default will need to be used. Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 25, 2014 Share Posted September 25, 2014 cool i see it..now lets see what i have at this point, function wise Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 25, 2014 Share Posted September 25, 2014 works for me on play 1 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted September 26, 2014 Share Posted September 26, 2014 (edited) Not sure the best way to approach this profile. Looks like the Play:5 can use the USER-AGENT=Sonos (from MrWebsmith's log) but Spaceboy's logs never showed the User-Agent for Play:1. @Spaceboy @CBers @im85288 @MrWebsmith Does the profile work with this information? If so then we can have Luke upload it. If not then will have to make a "How to" for this profile. <Name>Sonos Play</Name> <Identification> <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> Edited September 25, 2014 by Happy2Play 1 Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 26, 2014 Share Posted September 26, 2014 im still seeing that its not matching the profile in this log... where exactly in the mbs log does it give me the correct friendly name and model # etc to enter into the xml profile? log: https://www.dropbox.com/s/ggo0f0u28cbt6qx/server-63547232133.txt?dl=0 Link to comment Share on other sites More sharing options...
Spaceboy 2494 Posted September 26, 2014 Share Posted September 26, 2014 ok, can i do anything to help? Link to comment Share on other sites More sharing options...
MrWebsmith 598 Posted September 26, 2014 Share Posted September 26, 2014 just trying to follow im85288's post to add the info from the log to the profile, but im not seeing the block of info in the log that would translate to the xml fields in the profile builder.. did you figure that part out yet? 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