tag:blogger.com,1999:blog-7047951599825887753.post6649477727987497071..comments2024-03-17T19:25:12.889+01:00Comments on TravelMarx: WPF Application to Save and Import Sonos PlaylistsTravelMarxhttp://www.blogger.com/profile/03225272761579994072noreply@blogger.comBlogger49125tag:blogger.com,1999:blog-7047951599825887753.post-902375642223241952016-08-22T22:50:47.332+02:002016-08-22T22:50:47.332+02:00Sorry, it took so long for me to take a look. I tr...Sorry, it took so long for me to take a look. I tried the code out for a little bit. My a bit on my new (very small) Sonos setup and have some comments/questions:<br /><br />1. First, it looks like changes you did to discovery are much improved over what I had. Thanks! Also, other changes that I could see with a diff helped.<br /><br />2. I noticed that in MainWindow.xaml.cs you commented out ExportPlaylist for save to .xml. Any reason why?<br /><br />3. Along with Q2, you open a new DataWindow when saving to .xml, but there is nothing do with the data window after searching for dups. Is that just intended to be helpful information?<br /><br />Going forward, I think your version (after resolving Q2 and Q3) should be definitely replace what I have. Maybe we should just retire this post and point to what you have in Github? TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-84073133843789587512016-05-13T21:57:05.174+02:002016-05-13T21:57:05.174+02:00The updated code (full VS2010 solution) is at http...The updated code (full VS2010 solution) is at https://github.com/tyddynonn/SonosWPFApplicationAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-23024195097544183522016-05-13T19:25:36.547+02:002016-05-13T19:25:36.547+02:00I could get it from there. I haven't worked on...I could get it from there. I haven't worked on the code in a while and would be good to try it out again with your fixes.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-27453977285050412362016-05-13T18:59:32.906+02:002016-05-13T18:59:32.906+02:00Like others here I had trouble getting Discovery t...Like others here I had trouble getting Discovery to work, so I refactored the code using techniques from OpenSource DeviceSpy. Now works over all local interfaces and supports IPV6 too!<br /><br />Affects MainWindow.xaml.cs and UPnp.cs, adds three utility files. TravelMarx - what's the best way to get these to you? I do have a GitHub accountAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-18502879053213194522016-03-01T15:33:22.763+01:002016-03-01T15:33:22.763+01:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/00324215031576839814noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-80421222861091064062016-02-29T08:11:54.701+01:002016-02-29T08:11:54.701+01:00FYI, Checked with spy: When a PLAY:1 and SUB is co...FYI, Checked with spy: When a PLAY:1 and SUB is connected to a Playbar the PLAY:1 and SUB don't have a /MediaRender/... service anymore in the list.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-47619862329360821202016-01-03T20:23:07.751+01:002016-01-03T20:23:07.751+01:00Sorry, I'm without a Sonos system to play with...Sorry, I'm without a Sonos system to play with for a little bit. You can also access the code on Github at https://github.com/travelmarx/travelmarx-blog/tree/master/SonosWpfApplicationV5. In terms of Visual Studio, I understand downloading and dealing with it. The only thing I can suggest is to try Visual Studio Community version. I used it recently and it worked well. Will try to see about making an EXE.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-45778074828259401912015-12-21T04:21:58.514+01:002015-12-21T04:21:58.514+01:00Fantastic posts on this subject. May I trouble you...Fantastic posts on this subject. May I trouble you post an EXE if you wouldn't mind? I get an error on the 365 link. Visual Studio is a 9 GB download and wants to impregnate itself into explorer and context menu. Thanks very much.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-7175950596095329692015-02-09T02:19:13.528+01:002015-02-09T02:19:13.528+01:00Bingo. My network is 172.30.123.xxx, so I set _bro...Bingo. My network is 172.30.123.xxx, so I set _broadcastIP = 172.30.123.255Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-63470424748215913122015-02-04T23:50:03.571+01:002015-02-04T23:50:03.571+01:00I've managed to get it working (_broadcastIP =...I've managed to get it working (_broadcastIP = 192.168.0.255)Anonymoushttps://www.blogger.com/profile/17054505921206340456noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-44221404267996582002015-02-04T23:33:51.413+01:002015-02-04T23:33:51.413+01:00I am unable to get the code to discover my Zones. ...I am unable to get the code to discover my Zones. I'm running Windows 8 + Visual Studio Express 2012 for Windows Desktop. My laptop is connected via wifi to my router with a default gateway address of 192.168.0.1. Do I need to change the _broadcastIP. I've tried changing it to various different values but no luck. Please can you assist?Anonymoushttps://www.blogger.com/profile/17054505921206340456noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-3996582268306800622015-01-18T19:09:49.254+01:002015-01-18T19:09:49.254+01:00Interesting. I don't have those devices so I c...Interesting. I don't have those devices so I can't test. Would be interesting to probe these devices following the post "Exploring Sonos via UPnP" (http://blog.travelmarx.com/2010/06/exploring-sonos-via-upnp.html) and look to see that there is a /MediaRender/AVTransport/Control, etc.<br /><br />I changed the code at https://github.com/travelmarx/travelmarx-blog/tree/master/SonosWpfApplicationV5 and I'll update the version on Onedrive. Also, will add update note in the post.<br /><br />Thanks for reporting thi.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-27670065226580539532015-01-04T21:28:10.839+01:002015-01-04T21:28:10.839+01:00Hi TravelMarx,
Ran version 5 on my network in Vis...Hi TravelMarx,<br /><br />Ran version 5 on my network in Visual Studio 2010. It looks like the Playbar (S9), Sub (Sub) and Play 1 (S1) devices thrown an exception UPnP.FindMasters method when the SOAPRequest is executed. These devices return a 500 error.<br /><br />As a quick hack, I put a try/catch inside the if statement. If there is an exception, in the catch, I set: UPnP.Discovery.ZoneMasters[zone] = false;<br /><br />This allows the app to continue processing and I could access the playlists.<br /><br />MichaelAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-11772829886578013242014-06-22T10:01:56.032+02:002014-06-22T10:01:56.032+02:00I just tried it the program/code on Windows 8 and ...I just tried it the program/code on Windows 8 and it worked. I moved the code to GitHub: https://github.com/travelmarx/travelmarx-blog/tree/master/SonosWpfApplicationV5TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-27864484256500341732014-06-19T07:37:29.743+02:002014-06-19T07:37:29.743+02:00Will take a look.Will take a look.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-54395466385662082292014-06-17T05:08:10.791+02:002014-06-17T05:08:10.791+02:00This looks great. The link to the .zip file for v...This looks great. The link to the .zip file for version 5 doesn't seem to work anymore. Any chance you could fix it?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-12008913282892860882012-11-19T16:28:27.915+01:002012-11-19T16:28:27.915+01:00I will give it try. But allready my compliments! T...I will give it try. But allready my compliments! Thanks.Hasselaarhttp://www.hasselaar.nlnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-70967263799375064602012-02-06T04:12:28.977+01:002012-02-06T04:12:28.977+01:00Also, just added this post: http://travelmarx.blog...Also, just added this post: http://travelmarx.blogspot.com/2012/02/java-program-to-extract-whats-in-sonos.html which is a simple Java program to get what's in the queue and output to a file (simple list or .m3u).TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-73552116726344245002012-02-05T21:26:46.540+01:002012-02-05T21:26:46.540+01:00I just made an update to the program. V5 now (http...I just made an update to the program. V5 now (http://cid-3faa5c9b69a80c67.office.live.com/self.aspx/Public/SonosWpfApplicationV5.zip) and release notes (http://cid-3faa5c9b69a80c67.office.live.com/self.aspx/Public/releasenotes_SonosWpfApplication.txt). I've been wanted to revise discovery and that's what I did. I separated the collecting of the broadcast responses from the checking of them. Basically, I made two loops. Seems to perform better and require less overall time to discover. Also, tweaked MX header in discovery to 2 instead of 5. I tested on Sonos version 3.6.1 (build 16748310). Hope it works better.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-66399055674677712782012-02-05T04:05:47.302+01:002012-02-05T04:05:47.302+01:00Thanks for the WPFApps.
I ran across few problems...Thanks for the WPFApps.<br /><br />I ran across few problems lately. Is it in relation with the latest Sonos updates?<br /><br />At one of my customer 2 weeks ago, nothing was found with the "Discover" button when I was connected on his home network.<br /><br />Today here at home:<br />"The underlying connection was closed: An unexpected error occured on a service. Try discovery again."<br /><br />I run Sonos 3.6 on my laptop.proximIThttps://www.blogger.com/profile/10418868436436392459noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-16550495811333323542012-01-11T05:39:12.166+01:002012-01-11T05:39:12.166+01:00Thanks. I just made an update. Probably better to ...Thanks. I just made an update. Probably better to be less restrictive. We don't have a ZoneBridge, but friends who have one invited us over for Christmas. I felt it was a bit awkward to spend the whole time on the computer! Thanks for testing. Again, cool work on the volume app.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-69378669383427796342012-01-02T06:34:04.710+01:002012-01-02T06:34:04.710+01:00I got a bridge and play 3 (Christmas) and I had to...I got a bridge and play 3 (Christmas) and I had to change the "zonebridge" check to just bridge as my bridge was reporting itself as "ZoneName:SONOS-BRIDGE". <br /><br />I posted in your first blog on this but thanks for all the details, was able to code up a little app that turns down the volume when I get a cell call (need to get a modem in to finish the landline part). <br /><br />Thanks again<br />Bill.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-71500689937102918702011-12-22T20:50:33.436+01:002011-12-22T20:50:33.436+01:00I don't have a zonebridge but m3u export works...I don't have a zonebridge but m3u export works fine for me as well.<br /><br />Regards,<br /><br />WalterAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-10072791978910859602011-12-22T04:50:10.732+01:002011-12-22T04:50:10.732+01:00Zonebridge detection is working fine for me, as di...Zonebridge detection is working fine for me, as did the m3u export feature. Thanks!cagerhttps://www.blogger.com/profile/16495981276418039785noreply@blogger.comtag:blogger.com,1999:blog-7047951599825887753.post-36236120113250095042011-12-22T04:04:23.005+01:002011-12-22T04:04:23.005+01:00Thanks for the sentiment. If there are problems le...Thanks for the sentiment. If there are problems let me know. I don't do nearly enough testing due to time constraints. That goes for the m3u support and the support for dealing with (really ignoring) Zone Bridges. I was visiting friends who have zone bridges but kept eating and talking and didn't do much testing. Let me know how it works. Thanks.TravelMarxhttps://www.blogger.com/profile/03225272761579994072noreply@blogger.com