Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jean-Luc Barrière
    @janbar
    @marshmn , You can try by updating the line 281 in the file "backend/lib/noson/noson/src/sonossystem.cpp": Replace the string "urn:schemas-upnp-org:device:ZonePlayer:1" by "ssdp:all".
    Jean-Luc Barrière
    @janbar
    @marshmn , making with previous update, it removes the upnp search filter. Then running with enabled debug it should show all devices sending the feedback.
    Matt Marsh
    @marshmn
    @janbar : OK, I'll give that a try when I'm at home this evening and let you know what output I get
    @janbar : thanks for your help with trying to get this working...
    Matt Marsh
    @marshmn
    @janbar : I still wonder whether my powerline network adapters are at least part of the problem; I've just ordered some Google WiFi mesh network adapters to replace the powerline ones; they get good reviews and maybe they will offer an improvement... I'll test with those also when they arrive in a couple of days
    Matt Marsh
    @marshmn
    @janbar : I changed the line of code you suggested above and re-built the app; from the debug output I can see a Roku device that I have getting listed now, but nothing that I can see which looks like either of my Sonos devices
    @janbar : debug output is here in case you can spot anything different: https://src.crazedbytes.net/snippets/9
    Matt Marsh
    @marshmn
    @janbar : I've done some more experimentation and it does seem that this is a problem with my networking (powerline); it seems that the Sonos devices are connecting to one of the WiFi extenders - and my laptop is connecting to a different one; it seems that the powerline adapters are not passing the uPNP traffic between the different extenders
    I connected everything on the same extender and it works...
    so at least we know the app is working just fine
    and hopefully once I replace the powerline adapters with Google's mesh WiFi, hopefully that will work with it...
    I'll let you know about that once I can try it in a couple of days
    it's interesting that in all this time the "Unofficial Sonos Controller for Linux" app has always worked - so I guess it is using some other method to discover the Sonos devices?
    Jean-Luc Barrière
    @janbar
    @marshmn , yes it is. Seems the ssdp message is also transmitted by broadcast, weird...
    Matt Marsh
    @marshmn
    @janbar : FYI - I've now switched to the Google WiFi 'mesh' network, replacing my powerline setup, and Noson seems to work perfectly in this setup (as I'd suspected from my testing a few days ago)
    @janbar : I can finally start enjoying your application - many thanks :)
    Matt Marsh
    @marshmn
    @janbar : just so you know - I've had no problems at all with Noson since switching to Google WiFi instead of my previous TP-Link Powerline setup; thanks for the great app!
    Chris Kitze
    @ChrisKitze_twitter
    Wow! Just found Noson. Amazing. Thanks for all your hard work. Running Ubuntu 18.04 and install went very smoothly, even found my local classical radio station. I junked my Macbook and had to find something to run my Sonos. I'm in a remote cabin in the woods and you just gave me music this evening! Thanks!!
    Matt Marsh
    @marshmn
    for the last few days I've had to restart Noson a few times because it seems to have stopped updating with the current track being played etc.
    I updated my Sonos devices with the latest updates a few days ago also, not sure if that's related or not
    I should note that I tend to leave Noson running all the time on my laptop and suspend/resume the laptop when I'm using it etc. - again I'm not sure if that's related at all
    I'll keep an eye on it and see if it keeps happening and whether there is some pattern to it
    Jean-Luc Barrière
    @janbar
    Thanks @marshmn . I will try to stress the app to see what happen
    Jeff
    @jef79m

    Hi, I'm having trouble connecting Apple Music using noson. After clicking "Start service registration" button, I get a quick updateing animation, then nothing. The relevant log portion is shown below:

    (SONOS)playerEventCB: container [Q:0] has being updated to 284
    (SONOS)__connectAddr: connected to socket(0x5616403ff6d8)
    (SONOS)Connect: SSL handshake initialized
    (SONOS)Connect: /businessCategory=Private Organization/jurisdictionC=US
    (SONOS)SendRequest: POST /ws/SonosSoap HTTP/1.1
    Host: sonos-music.apple.com:443
    User-Agent: Linux UPnP/1.0 Sonos/36.4-41270 (ACR_noson)
    Connection: close
    Accept-Charset: utf-8
    Content-Type: text/xml; charset=utf-8
    Content-Length: 501
    Accept-Encoding: gzip, deflate
    Accept-Language: en_AU, en-US;q=0.9
    SOAPAction: "http://www.sonos.com/Services/1.1#getAppLink"
    
    <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1"><deviceId>XX-XX-XX-XX-XX-XX:A</deviceId><deviceProvider>Sonos</deviceProvider></credentials></s:Header><s:Body><ns:getAppLink xmlns:ns="http://www.sonos.com/Services/1.1"><ns:householdId>Sonos_mGxxLFTwGn1AmL5xXXXXXXXXXX</ns:householdId></ns:getAppLink></s:Body></s:Envelope>
    (SONOS)GetResponse: HTTP/1.1 500 Server Error
    (SONOS)GetResponse: Date: Wed, 05 Sep 2018 23:35:09 GMT
    (SONOS)GetResponse: x-apple-jingle-correlation-key: Y4L7PROD2E4F2EPXXXXXXXXXXX
    (SONOS)GetResponse: x-apple-application-site: MR22
    (SONOS)GetResponse: x-apple-application-instance: 301802
    (SONOS)GetResponse: Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    (SONOS)GetResponse: SOAPAction: ""
    (SONOS)GetResponse: Content-Type: text/xml; charset=UTF-8
    (SONOS)GetResponse: Content-Length: 435
    (SONOS)GetResponse: 
    (SONOS)WSResponse: server error (500)
    (SONOS)__dumpInvalidResponse: invalid or not supported response
    (SONOS)<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
        <SOAP-ENV:Header/>
        <SOAP-ENV:Body>
            <SOAP-ENV:Fault>
                <faultcode>SOAP-ENV:Server</faultcode>
                <faultstring xml:lang="en">There was an error processing your request</faultstring>
                <detail>
                    <customFaultDetail xmlns="http://www.sonos.com/Services/1.1">
                        <SonosError>999</SonosError>
                    </customFaultDetail>
                    <bonus/>
                </detail>
            </SOAP-ENV:Fault>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    
    (SONOS)GetAppLink: parse xml failed

    Any advice? Thanks.

    Jean-Luc Barrière
    @janbar
    @jef79m , unfortunately the Apple service can't work with the app. It uses a special handling requiring the installation of an apple application locally (I guess itunes).
    cappersg
    @cappersg
    Hello. It's been quiet for some time in this chat I see, but hopefully there is still some support available :-). I just installed NOSON on my old laptop, using Ubuntu 18.04. Installation was a little tricky - I'm not very into Linux, but finally I got it right. The app starts, but the message "no sonos zone found" keeps on appearing. I tried different WiFi networks (I have 2...) and stop-start WiFi. But no succes so far..... What can this be?
    Jean-Luc Barrière
    @janbar
    @cappersg . Have you any firewall enabled on the ubuntu ? If yes then you should disabled it to allow upnp trafic.
    cappersg
    @cappersg
    Thanks for the fast answer! Firewall was ON, disabled it and now it starts working. I'll need some time to find out all details, but the first impression is quite OK! Is there a way to configure the firewall so that it can be ON, but allowing the necessary traffic?
    cappersg
    @cappersg
    Addition: installed GUI for ufw (gufw). Makes it easy to test some things. Firewall OFF: NOSON works. Firewall ON: no zones detected. Then I enabled uPNP in UFW, but that seems not enough, since when i put the firewall ON with the new settings that allow all uPNP traffic it still stops finding zones. Firewall is OFF for now :-).
    steveman85
    @steveman85
    Hello together, do any person know, how i must configure my firewall for the noson programm?
    I must everytime the Firewall deactivate, to can take it.
    Jean-Luc Barrière
    @janbar
    @steveman85 , noson binds the port range 1400-1410, and the upnp trafic has to be unfiltered.
    cappersg
    @cappersg
    Added all ports from 1400 till1410 in ufw,. Settings for all ports: both tcp and udp, in both directions, and on all interfaces. Restarted laptop (full close and startup). Have the newest version of NOSON installed. With the firewall ON - with the new settings - no zones are found. So this did not work .... BUT: some testing revealed a strange workaround. When I disable the firewall and search for zones it - of course - finds them perfectly. When i ENABLE the firewall (with the new rules) AFTER the zones are found you would expect further use of NOSON would be possible. But guess what: it keeps on working until you shut down the program! After a close and restart of NOSON it's "no zones found" again. Disable firewall, find zones, enable firewall and bingo, so it's reproducable..... It seems something extra is needed when NOSON starts?
    cappersg
    @cappersg
    Forget the workaround, sorry. It seems i was a little overenthusiastic, since after about 5 minutes after restarting the firewall NOSON quit reacting to instructions. No zone switches, no change of songs anymore: things I tried just before. It looks like NOSON can't be used with a firewall activated - which makes it useless for me. Pity, it looked good...
    Matt Marsh
    @marshmn
    Noson is often hanging for me these days :(
    end up having to kill it and start it again to get it to work
    Jeff
    @jef79m
    @janbar Sorry for slow reply, I appreciate your response. It's a shame we can't work with apple music.
    steveman85
    @steveman85
    Does anyone have a solution regarding the firewall problem? The setting with ports 1400-1410 does not work.
    Anders Biström
    @angulion
    Hello.. When is @janbar usually on?
    Jean-Luc Barrière
    @janbar
    @angulion , some times
    steveman85
    @steveman85
    Hello together. Do any person know, how i can make the firewall configuration to can start the noson player without must make the firewall all times of? Thanks. Can make any Person a video or pictures, to see, how it make this?
    Jean-Luc Barrière
    @janbar
    First you have to check your router doesn't block the SSDP trafic on lan: multicast 239.255.255.255:1900. SSDP is used by to discover upnp devices. Then the fw should allow ingoing packet from udp 239.255.255.255:1900. Second your fw should allow ingoing tcp packet to the host on ports range 1400-1409. One of those ports is bound by the app to listen upnp events from the connected Sonos devices. You can have up to 10 instances of the app. Obviously the outgoing trafic have to be allowed.
    Jean-Luc Barrière
    @janbar
    This morning I upgraded the SNAP package to the release 3 of the app. Seems recent snap supports core18 (Qt-5.9) now that is required by release 3. Else the flatpak package works great even on Ubuntu 16.
    emilie reyboz
    @emilie79_gitlab
    Hello, I am a new user of NOSON and I need you help regarding a problem with my library: i don't see anything in my music and when I refresh, the app does not find anything. Where do I need to place the MP3 file? Is there something specific to do ? (the rest works: radios, favorite)
    steveman85
    @steveman85
    Hello, i have try to set the Firewall-Configurations, but it does not work with the Firewall. When i deactivate it, it does work. I will like to take this program, for listen the Sonos. Do you not can make a Video, how i make the Firewall Configurations? Thank you.
    Benjalien
    @Benjalien
    Hi guys, I have a feature request, do you know how I could pass it over to the developers?
    I'd like to be able to address all zones at once: my goal is to shut down my sonos when I leave my house. I can already trigger a script, so I just would like to add a line like "noson --cli -shutdown-all". If that doesn't wok I could pass the logic to an expect script and get the script emulate an interactive behaviour.
    lefaineant
    @lefaineant
    @janbar Still the firewall issue: port 1900 is blocked by my provider as a safety measure (too many DDos attacks using this port). So this does not seem to be the solution for me.
    Jean-Luc Barrière
    @janbar
    In the next release (3.16) you can bypass the ssdp discovery by setting the url of a Sonos device. This new feature would resolve the issue.
    lefaineant
    @lefaineant

    I think I have a solution:
    I made a rule in Gufw:

    advanced>
    name: whatever
    insert: 0
    policy: allow
    direction:both
    device: all interfaces
    log: no log
    protocol: both
    from: xxx.xxx.x.xx (IP address sonos speaker) port:empty
    to: empty port:empty
    +add

    hope this is safe?