Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Matt Marsh
    @marshmn
    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?

    gemu4000
    @gemu4000
    I need help. I use Noson on Ubuntu. In "My index" is shown Artists, Album, Genre, Komposers. I miss the possibility of making a Folder with subfolders, which is possible in the Android-version for Sonos. I have a lot of music on my NAS but can not find out how to get direct contact to the folder My music and its subfolders. There is some music there, that Artists, Album, Genre, Komposers does not find. I ask in this chat, don't know where to ask and who. I am not a tecnician and not a developper, I don't read code, am just a user with a problem. Kind regards Gerd
    lefaineant
    @lefaineant
    Hello, if noson does not find some of your music , it is probably due to a lack of metadata in the file. You can add meta data by using MusicBrainz Picard or Picard. To install you should find it as software in your Ubuntu system.
    gemu4000
    @gemu4000
    Thanks
    Jean-Luc Barrière
    @janbar
    Hi, finally I added a new setting to add an additionnal music location for the media scanner (This Device)
    gemu4000
    @gemu4000
    Sound good. What do I do then?
    Jean-Luc Barrière
    @janbar
    In the latest release (4.4.1) there is a new setting "Additional music location". Type the path of your local music library. Also if you have a NAS you should configure your Sonos device to browse the music directly from it. The new setting is dedicated for local files stored outside the standard path (xdg: ~/Music).
    gemu4000
    @gemu4000
    Hej Jean-Luc,
    gemu4000
    @gemu4000
    I'm really an amateur or just ignorant. "smb://dlink-564fdf/Volume_1/Delt musik" is the link to my music on the NAS. Some of it are copies of old records I have made with Audacity. Sonos and Noson does not know this music. So what I need is a visible link to this library, maybe as an icon in "My index" (Mit indeks) just as I have on my Android Sonos. Or in "Favorits" I have tried to use the new function you made but it does not seem to give me anything. But I am very greatfull that you are trying to help. Thank you. Kind regards Gerd
    Jean-Luc Barrière
    @janbar
    "smb://dl..." isn't a path, that is an URL. In the Sonos official App you have a configuration page to setup a NAS by giving the server name and the path. I guess the server name is "dlink-564fdf" and the path is "/Volume_1/Delt musik". Then if you succeeded to setup your NAS in Sonos, you will see all your shared music in Noson within the page "My Music".
    gemu4000
    @gemu4000
    Dear Jean-Luc, - My NAS is setup in Sonos. But I can't get direct contact to "Delt musik". I give up and just use my smartphone instead. Thank you for trying. Kind regards Gerd
    wjterveld
    @wjterveld
    Goodmorning, I just installed NOSON on OpenSuse Tumlbeweed, but it NOSON is unable to find my sonos speakers?
    Hai Nguyen Van
    @EmptyStackExn
    Dear everyone, is there a way to install Noson on Raspberry Pi without compiling sources ? Thanks!
    Jean-Luc Barrière
    @janbar
    @wjterveld , disable the firewall and that should work.
    Jean-Luc Barrière
    @janbar
    @EmptyStackExn , Only FreeBSD provides the app as package. No Linux distro provide the app. On Linux Ubuntu you have to register my repo as explained in the project page, but launchpad build it only for arch x86 and x86-64. So OpenSUSE provides it but rarely up to date.
    @EmptyStackExn , the best channels for PI arch could be SNAP or FLATHUB. Also the updates are triggered by myself.
    Emma Smith
    @emmas-yoti
    Hi. I've been trying to use Noson to control my sonos system from my work laptop but I can't get the audible service to work.
    It'll show the books in my Audible library, but when I try to play ome it says 'Action cannot be performed'.
    I had a look to see if there was an open issue in github but I can't see one? Trying to figure out if this is something I can fix myself.
    Eric Gauthier
    @egauthier
    How do I remove a Favorite? I have duplicates, and need to remove one of them. I went to the native app (SiriusXM in this case) and deleted the duplicated station, but after restarting Noson, the duplicate is still in my Noson favorites.