Code Monkey home page Code Monkey logo

noson-app's People

Contributors

cosimoc avatar dlax avatar jagaudin avatar janbar avatar jorgejch avatar lloyda avatar nkfilis avatar piggz avatar sandsmark avatar wdullaer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

noson-app's Issues

3.2~201802170013~ubuntu17.10.1 segfault

With the last update, on kubuntu system, goes in segfault :(

The error:

$ noson-app 
"no file found for translations ':/i18n/noson_it.qm' (using default)."
Errore di segmentazione (core dump creato)

the system

$ dpkg -l noson-app
Voluto=U (non noto)/I (installato)/R (rimosso)/P (rimosso totale)/H (in attesa)
| Stato=Non/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(nessuno)/R (reinstallazione richiesta) (Stato,Err: maiuscolo=grave)
||/ Nome                                                   Versione                         Architettura                     Descrizione
+++-======================================================-================================-================================-==================================================================================================================
ii  noson-app          
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

Can't find SONOS when connected to VPN

I have openvpn configured to connect automatically. But then NOSON can not find my SONOS, while pinging the sonos gives no problem. After disabling VPN NOSON can find SONOS. And then after starting the VPN again NOSON keeps working fine, so it just has problems with the VPN while connecting at start-up.

Zone selection silently fails

I'm using the flatpak release of this app. All attempts to select a zone in the app silently fail. I see some debug spew in the terminal:

qml: Reloading the zone ...
qml: Connecting zone 'Rover'
(SONOS)WSResponse: bad request (412)
(SONOS)WSResponse: bad request (412)

Property 'clear' of object MediaModel is not a function

Thanks for the great Sonos app. All your hard work is much appreciated!

I have successfully built noson-app on Arch linux and thought I would do a package for it. The only issue I have so far is with the Spotify service authorization.
On the service page when I click on my Spotify account, I don't get the authorization link, just a blank page with the Spotify logo blurred in the background.

I have looked into this issue and found this error message:

qrc:/ui/Service.qml:361: TypeError: Property 'clear' of object MediaModel(0x563052c7be90) is not a function

Looking into the source, it seems that in Service.qml line 361, mediaModel.clear() is called. But if I look at mediamodel.cpp, the closest function I have is MediaModel::clearData().

Could this be the origin of the problem?

Note that I have also tried installing the snap package which works fine with Spotify. Looking at the source of Service.qml in Snap v2.6, the function call is mediaModel.clearData().

Focus@Will - Can't correct logon info

Got my credentials in wrong the first time, got 'em right the second time.
Focus@Will creates a blank page with enlarged icon as the background and just sits there.
Created a second Focus@Will, which didn't ask me credentials and has the same behavior.
Read UI bit about hitting the list button to get the remove. Removed both Focus@Will services.
Added a new one, again was not asked credential, again got a blown up icon as background and nothing else....

Great app by the way! But, help!!!!

Unable to add Amazon Music on the UK

I'm in the UK. Amazon Music works great in the Sonos app, but I'd like to add it to Noson.

  1. Services -> Add -> Amazon Music
  2. See message "This will require to authenticate against the music service again, as credentials cannot be retrieved from Sonos device."
  3. Click "Start service registration"
  4. Click the auth link, which redirects to https://na.account.amazon.com/ap/oa?clientContext=...
  5. Click "Allow", Amazon reports success
  6. Noson reverts to the message from step 2.

While doing this, I see the following in the console:

(SONOS)ParseMessage: parse xml failed
qml: Retry request auth ...
qml: Retry request auth ...
qml: Retry request auth ...
(SONOS)ParseMessage: parse xml failed

Use /usr/bin/env

Could you switch to #!/usr/bin/env bash so that the right thing happens on platforms like FreeBSD.
Tested on FreeBSD 12-CURRENT and working great so far. This is exactly what I have been looking for!!

I can submit a PR is you want, but I figured it was such a minor change there was no point.

Spotify support

First of all: thanks for doing this project! It's good to finally have a native ubuntu controller for Sonos products.

I'm having some issues with it though. I can't find any of my spotify playlists in the app. The search button does not respond at at all. Is this an issue with spotify?

I'm on ubuntu 16.04 and installed noson-app through the ppa.

Fails to start registering the Google Play Service

First big thanks for this very nice Sonos App, I'm enjoying it. Made me upgrade from 14.04 to 16.04 ;-)

I try to register my Google Play service, but pressing the green button gives no response. 7Digital and TuneIn worked direct. Soundcloud works as well after registration.

Any suggestions?

kind regards,
Eelco

Default 'TuneIn' service cannot be removed

Installed via flatpak on Fedora Linux. All attempts to remove the default 'TuneIn' service are silently failing. The only output that I see in the terminal is:

qml: Remove service 65031 with serial 0

can not find zone

I changed something but i do not know what. I can no longer find my zones. Any advice?


noson-app --debug 2>&1 | tee noson.log
inotify_add_watch("/home/becker/.config/ibus/bus/361be4776d7cc725fa7cb0ca5b86e016-unix-1") failed: "No space left on device"
Signal handler is enabled.
"using file ':/i18n/noson_en.qm ' for translations."
installing thumbnails cache in folder "/home/becker/.local/share/janbar/noson/QML/OfflineStorage"
thumbnailer Last.fm is initialized
qml: LANG=en_US
thumbnailer: configure key []
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)ReceiveData: socket(0x7f5a8affcbe8) timed out
(SONOS)unregisterModel: 0x555af0a25390 ()
(SONOS)unregisterModel: 0x555af1106d50 (Q:0)
(SONOS)unregisterModel: 0x555af0da6b20 ()
(SONOS)unregisterModel: 0x555af0d73f10 (SQ:)
(SONOS)unregisterModel: 0x555af0da3d30 (FV:2)
(SONOS)unregisterModel: 0x555af0da5c00 ()
(SONOS)unregisterModel: 0x555af0da4ce0 ()
(SONOS)Stop: event handler thread (0x555af0881db0)
(SONOS)__connectAddr: connected to socket(0x555af12a4518)
(SONOS)SendRequest: HEAD / HTTP/1.1
Host: 127.0.0.1:1401
User-Agent: libnoson/1.0
Connection: close
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate


(SONOS)Process: accepting new connection
(SONOS)AnnounceStatus: (0x555af0881db0) STOPPED
(SONOS)ParseQuery: HEAD / HTTP/1.1
(SONOS)ParseQuery: Host: 127.0.0.1:1401
(SONOS)ParseQuery: User-Agent: libnoson/1.0
(SONOS)ParseQuery: Connection: close
(SONOS)ParseQuery: Accept-Charset: utf-8
(SONOS)ParseQuery: Accept-Encoding: gzip, deflate
(SONOS)ParseQuery: 
(SONOS)GetResponse: HTTP/1.1 200 OK
(SONOS)GetResponse: CONTENT-TYPE: text/html
(SONOS)GetResponse: CONTENT-LENGTH: 119
(SONOS)GetResponse: 
(SONOS)Stop: event handler thread (0x555af0881db0) stopped
(SONOS)UnregisterAllRequestBroker: unregister (images)
(SONOS)UnregisterAllRequestBroker: unregister (pulse)
(SONOS)Stop: subscription thread (0x555af05d3878:1)
(SONOS)Stop: subscription thread (0x555af05d3878:1) stopped
Signal handler is destroyed.

Add ability to equalize volume

Hey again, this is an enhancement request.

Sonos is a pain when grouping zones and adjusting volume. On the official apps I drag the master slider down to zero and then back up so that all zones are equal. It looks like noson still does volume proportionally.

My suggestion would be to add an equalize volume button (possibly just defaulting to the lowest volume among the group) on the zone selection view next to the "All" and "Done" buttons.

Gitter

can you create a Gitter Chat for a good conversation about the app ?

No Sonos Zone Found (after updates)

Hello,
Up until recently the noson-app worked fine (linux Ubuntu 18.04.2 LTS - Budgie gnome 3.28.2 ), but i presume after an update, the noson (and also unofficial sonos appl) does not want to find the zones anymore.
I have 3 sonos products:

  • 2 x Sonos One - version 10.2 (build 50163230) - zone names "Kantoor" & "Woonkamer"
  • 1 x Sonos Beam - version 10.2 (build 50163230) - zone "TV Salon"

I can provide a full dump of the debug log when starting noson-app.

When I start the CLI now, I can see a following output:
noson-app --cli

Searching... (SONOS)ParseZoneGroupState: invalid or not supported content
(SONOS)<ZoneGroupState>
    <ZoneGroups>`
        <ZoneGroup Coordinator="RINCON_347E5C93C4D101400" ID="RINCON_347E5C93C4D101400:2051233283">
            <ZoneGroupMember UUID="RINCON_347E5C93C4D101400" Location="http://192.168.0.124:1400/xml/device_description.xml" ZoneName="TV Salon" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="9" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CAB658E601400" ID="RINCON_7828CAB658E601400:2927473283">
            <ZoneGroupMember UUID="RINCON_7828CAB658E601400" Location="http://192.168.0.252:1400/xml/device_description.xml" ZoneName="Kantoor" Icon="x-rincon-roomicon:office" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="18" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="0" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CA0C38E001400" ID="RINCON_7828CA0C38E001400:287737260">
            <ZoneGroupMember UUID="RINCON_7828CA0C38E001400" Location="http://192.168.0.102:1400/xml/device_description.xml" ZoneName="Woonkamer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="24" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
    </ZoneGroups>
    <VanishedDevices/>
</ZoneGroupState>
Succeeded

So the first thing I see is the notification " (SONOS)ParseZoneGroupState: invalid or not supported content"
Maybe the content/API has changed ?

Also when starting the application with noson-app --debug 2>&1 | tee noson.log and checking the output, at a certain point I see the same parse problem message

(SONOS)GetResponse: HTTP/1.1 200 OK
(SONOS)GetResponse: SID: uuid:RINCON_347E5C93C4D101400_sub0000000168
(SONOS)GetResponse: TIMEOUT: Second-300
(SONOS)GetResponse: Server: Linux UPnP/1.0 Sonos/50.1-63230 (ZPS14)
(SONOS)GetResponse: Connection: close
(SONOS)GetResponse: 
(SONOS)Process: accepting new connection
(SONOS)ParseQuery: NOTIFY / HTTP/1.1
(SONOS)ParseQuery: HOST: 192.168.0.215:1400
(SONOS)ParseQuery: CONNECTION: close
(SONOS)ParseQuery: CONTENT-TYPE: text/xml
(SONOS)ParseQuery: CONTENT-LENGTH: 6643
(SONOS)ParseQuery: NT: upnp:event
(SONOS)ParseQuery: NTS: upnp:propchange
(SONOS)ParseQuery: SID: uuid:RINCON_347E5C93C4D101400_sub0000000168
(SONOS)ParseQuery: SEQ: 0
(SONOS)ParseQuery: 
(SONOS)Process: ZoneGroupState =<ZoneGroupState><ZoneGroups><ZoneGroup Coordinator="RINCON_347E5C93C4D101400" ID="RINCON_347E5C93C4D101400:2051233283"><ZoneGroupMember UUID="RINCON_347E5C93C4D101400" Location="http://192.168.0.124:1400/xml/device_description.xml" ZoneName="TV Salon" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="9" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/></ZoneGroup><ZoneGroup Coordinator="RINCON_7828CAB658E601400" ID="RINCON_7828CAB658E601400:2927473283"><ZoneGroupMember UUID="RINCON_7828CAB658E601400" Location="http://192.168.0.252:1400/xml/device_description.xml" ZoneName="Kantoor" Icon="x-rincon-roomicon:office" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="18" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="0" MoreInfo=""/></ZoneGroup><ZoneGroup Coordinator="RINCON_7828CA0C38E001400" ID="RINCON_7828CA0C38E001400:287737260"><ZoneGroupMember UUID="RINCON_7828CA0C38E001400" Location="http://192.168.0.102:1400/xml/device_description.xml" ZoneName="Woonkamer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="24" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/></ZoneGroup></ZoneGroups><VanishedDevices></VanishedDevices></ZoneGroupState>
....
(SONOS)Process: ThirdPartyMediaServersX =
....
(SONOS)Process: AvailableSoftwareUpdate = <UpdateItem xmlns="urn:schemas-rinconnetworks-com:update-1-0" Type="Software" Version="50.1-63230" UpdateURL="http://update-firmware.sonos.com/firmware/Dev/50.1-63230-v10.2-fkolfu-Beta-1/^50.1-63230" DownloadSize="0" ManifestURL="http://update-firmware.sonos.com/firmware/Dev/50.1-63230-v10.2-fkolfu-Beta-1/update_1553520432.upm"/>
(SONOS)Process: AlarmRunSequence = RINCON_347E5C93C4D101400:9:0
(SONOS)Process: ZoneGroupName = TV Salon
(SONOS)Process: ZoneGroupID = RINCON_347E5C93C4D101400:2051233283
(SONOS)Process: ZonePlayerUUIDsInGroup = RINCON_347E5C93C4D101400
(SONOS)Process: MuseHouseholdId = Sonos_EiDjKge9x9mWqsXowSnEUPXwF0.8KGJD2RlhrcCqnylQmN6
(SONOS)Process: AreasUpdateID = 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
(SONOS)Process: SourceAreasUpdateID = (null)
(SONOS)HandleEventMessage: uuid:RINCON_347E5C93C4D101400_sub0000000168 SEQ=0 PROPERTY
(SONOS)ParseZoneGroupState: invalid or not supported content
(SONOS)<ZoneGroupState>
    <ZoneGroups>
        <ZoneGroup Coordinator="RINCON_347E5C93C4D101400" ID="RINCON_347E5C93C4D101400:2051233283">
            <ZoneGroupMember UUID="RINCON_347E5C93C4D101400" Location="http://192.168.0.124:1400/xml/device_description.xml" ZoneName="TV Salon" Icon="x-rincon-roomicon:family" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="9" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2462" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CAB658E601400" ID="RINCON_7828CAB658E601400:2927473283">
            <ZoneGroupMember UUID="RINCON_7828CAB658E601400" Location="http://192.168.0.252:1400/xml/device_description.xml" ZoneName="Kantoor" Icon="x-rincon-roomicon:office" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="18" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="0" MoreInfo=""/>
        </ZoneGroup>
        <ZoneGroup Coordinator="RINCON_7828CA0C38E001400" ID="RINCON_7828CA0C38E001400:287737260">
            <ZoneGroupMember UUID="RINCON_7828CA0C38E001400" Location="http://192.168.0.102:1400/xml/device_description.xml" ZoneName="Woonkamer" Icon="x-rincon-roomicon:living" Configuration="1" SoftwareVersion="50.1-63230" SWGen="1" MinCompatibleVersion="49.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="24" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2437" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceConfigState="0" MicEnabled="0" AirPlayEnabled="1" IdleState="1" MoreInfo=""/>
        </ZoneGroup>
    </ZoneGroups>
    <VanishedDevices/>
</ZoneGroupState>
....

Also here is a warning that displays "ParseZoneGroupState: invalid or not supported content"

Ubuntu 17.10 Noson does not start

#Ilovethhisapp

Hi, I just tested the application on Ubuntu 17.10, and unfortunately it does not run. Would you know why?
thank you in advance for your help

Artist artwork issues for those that start with "The"

If an artist's name with "The" i.e. The Beatles, The Smiths, The Strokes it shows in NOSON as Beatles, Smiths and Strokes which seems to be what is passed to Last.fm as the artwork returned is a standard Last.fm "Keep stats clean!" image.

Using v3.11 on Kubuntu 19.04

Update to Sonos 40.5-49090 breaks query accounts

It seems that since the latest update of Sonos to 40.5.49090, LoadAccounts in musicservices.cpp is failing, resulting in Spotify not being displayed anymore in My Services

The log is the following:

(SONOS)__connectAddr: connected to socket(0x5566a2bc6058)
(SONOS)SendRequest: GET /status/accounts HTTP/1.1
Host: 192.168.0.184:1400
User-Agent: libnoson/1.0
Connection: close
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate


(SONOS)GetResponse: HTTP/1.1 200 OK
(SONOS)GetResponse: CONTENT-TYPE: text/xml
(SONOS)GetResponse: Server: Linux UPnP/1.0 Sonos/40.5-49090 (ZP90)
(SONOS)GetResponse: Connection: close
(SONOS)GetResponse: 
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (0)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (1)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (2)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (3)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (4)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (5)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (0)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (1)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (2)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (3)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (4)
(SONOS)ReceiveData: socket(0x5566a2bc6058) timed out (5)
(SONOS)LoadAccounts: invalid or not supported content
(SONOS)<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="/xml/review.xsl"?>
<ZPSupportInfo/>

(SONOS)GetEnabledServices: query accounts failed

The above seem to indicate that the test in musicservices.cpp line 361 fails:

if (!(elem = rootdoc.RootElement()) || !XMLNS::NameEqual(elem->Name(), "ZPSupportInfo")
      || !(elem = elem->FirstChildElement("Accounts")))

I think the elem = elem->FirstChildElement("Accounts") returns false because there is no Accounts in the xml response.

Is it due to Sonos changing the way to retrieve Accounts?

In a browser if I go to http://192.168.0.xxx:1400/status there is no accounts link available. Was there one before the update?

Please let me know if I can be any help.

Feature request: use scroll wheel do adjust volume

Hi,
first of all many thanks for this great app!

I would like to suggest the following feature: Being able to use the mouse's scroll wheel to change the volume (on mouse over the volume field).

Cheers!

Does not find anything across VLANs

Hi,

my Sonos Player are located in a different VLAN than my controller (my Android phone). I have enabled an IGMP proxy and specified the appropriate firewall rules. This results in my phone finding and contacting the controllers just fine.

Noson, sitting in the same subnet as the phone however isn't able to find the players, so i think it could be noson's fault, since other controllers run fine.

cosmic build

sudo add-apt-repository ppa:jlbarriere68/noson-app
...

E: The repository 'http://ppa.launchpad.net/jlbarriere68/noson-app/ubuntu cosmic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Ubuntu 18.04 - Issue with Nvidia drivers (Snap version)

Noson does not start anymore with the latest Nvidia drivers (396.24.02) on ubuntu 18.04.
When launched, the noson app installed with snap gives the following error:

Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported
Signal handler is enabled.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Could not initialize GLX
Abandon

I checked on the internet and found a lot of information about this issue, but no concrete workaround except uninstalling the nvidia drivers (or using an old version).
The strange thing is other applications work fine.
Any idea?

(SONOS)FindDeviceDescription: search target not matches

Hai, the app works good but there seems to be some issues connecting to the Sonos device.
Log:

Signal handler is enabled.
"using file ':/i18n/noson_en.qm ' for translations."
installing thumbnails cache in folder "/home/user/.local/share/janbar/noson/QML/OfflineStorage"
thumbnailer Last.fm is initialized
qml: LANG=en_US
thumbnailer: configure key []
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)ReceiveData: socket(0x7f1842ffcbd8) timed out
(SONOS)unregisterModel: 0x56320cac52c0 ()
(SONOS)unregisterModel: 0x56320cd544a0 (Q:0)
(SONOS)unregisterModel: 0x56320cd5bef0 ()
(SONOS)unregisterModel: 0x56320cd5afd0 ()
(SONOS)unregisterModel: 0x56320cd5ce10 ()
(SONOS)unregisterModel: 0x56320cd5a020 (FV:2)
(SONOS)unregisterModel: 0x56320cd55380 (SQ:)
(SONOS)Stop: event handler thread (0x56320cd12420)
(SONOS)__connectAddr: connected to socket(0x56320d063918)
(SONOS)SendRequest: HEAD / HTTP/1.1
Host: 127.0.0.1:1400
User-Agent: libnoson/1.0
Connection: close
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate

(SONOS)Process: accepting new connection
(SONOS)AnnounceStatus: (0x56320cd12420) STOPPED
(SONOS)ParseQuery: HEAD / HTTP/1.1
(SONOS)ParseQuery: Host: 127.0.0.1:1400
(SONOS)ParseQuery: User-Agent: libnoson/1.0
(SONOS)ParseQuery: Connection: close
(SONOS)ParseQuery: Accept-Charset: utf-8
(SONOS)ParseQuery: Accept-Encoding: gzip, deflate
(SONOS)ParseQuery:
(SONOS)GetResponse: HTTP/1.1 200 OK
(SONOS)GetResponse: CONTENT-TYPE: text/html
(SONOS)GetResponse: CONTENT-LENGTH: 101
(SONOS)GetResponse:
(SONOS)Stop: event handler thread (0x56320cd12420) stopped
(SONOS)Stop: subscription thread (0x56320cd12128:1)
(SONOS)Stop: subscription thread (0x56320cd12128:1) stopped
Signal handler is destroyed.

qt5_use_modules is deprecated

Attempting to build this on archlinux blows up with
CMake Error at gui/CMakeLists.txt:42 (qt5_use_modules): Unknown CMake command "qt5_use_modules".

It appears qt5_use_modules has been replaced with target_link_libraries

Unable to remove services

When running into bug #48, I ended up with seven non-working copies of Amazon Music inside Noson. I can't see a way to remove them -- right clicking, long pressing, etc. all do nothing as far as I can tell.

Login to Amazon Music

Hi,

When i try to add Amazon Music, i get to copy url and allow app. But, after opening this url etc.., I don't get authorized to AM service with noson.

Release tags in appdata

We now have appdata, yay! However we need to update the release tags on each release. I think that means we insert @APP_VERSION@ and the correct date into the system and leave it to do its thing - however there might be some finicityness from appstream-glib that we'll need to keep an eye on (it doesn't like it if it thinks release tags are in the future).

How to add a tune-in radio?

Hi all,
I don't know if it an issue or just a CR, but I cannot undersand how to add a Tune-in radio to my favorits?
Could someone explain me it?
tnx

UI Threading issues

I love that I can now use Sonos on Ubuntu but the UI could use some tweaks to address usability.

  • threading - (lack thereof?)
    Upon startup it sits there, unresponsive to the mouse (for up to 30 seconds) and no indication that anything is going on until it comes back and populates the window with album covers. Would suggest displaying a previously cached set of titles/images and showing an activity indicator.
    When resizing the window, its unable to redraw the contents for several seconds.
    Is the circle with orange segments intended to be an activity indicator? If so, then I suggest animating it.

  • multi-selection
    I'd like to be able to select multiple items in the main window and perform actions on them as a group per options in a context menu. Ditto for the queue (i.e. group Remove)

  • additional columns
    Providing additional columns with metadata would be really great. Then songs in playlists could be sorted by genre, playing time, artist name, etc.

  • instant actions (nice to have)
    having to right-click items in the queue, find the Remove item, then click it is cumbersome. Suggest providing buttons that appears under the mouse when it hovers over an item. [play] [delete] [queue] etc..

`HTTP/1.1 405 Method Not Allowed` when trying to call `SUBSCRIBE /AlarmClock/Event HTTP/1.1`

Excellent app! After configuring the firewall as per the comments in #9, everything has been working great. The only issue is that I've been receiving the following error repeatedly in the console when calling noson-app --debug. Since I don't use the Alarm Clock functionality, it hasn't been a big deal, but still wanted to report it just in-case others are experiencing it.

Here's the relevant bit from the debug log:

(SONOS)__connectAddr: connected to socket(0x7f4449ffacd8)
(SONOS)__connectAddr: connected to socket(0x7f4438000b38)
(SONOS)SendRequest: SUBSCRIBE /AlarmClock/Event HTTP/1.1
Host: 192.168.50.73:1400
User-Agent: libnoson/1.0
Connection: close
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate
Callback: <http://192.168.50.76:1400>
NT: upnp:event
TIMEOUT: Second-300
(SONOS)GetResponse: HTTP/1.1 405 Method Not Allowed
(SONOS)GetResponse: Allow: GET, HEAD
(SONOS)GetResponse: Content-type: text/html
(SONOS)GetResponse: Server: Linux UPnP/1.0 Sonos/46.3-57250 (BR200)
(SONOS)GetResponse: Connection: close
(SONOS)GetResponse: 
(SONOS)WSResponse: bad request (405)

Thanks again for the excellent app!

Can't find Sonos on Ubuntu 16.10

Loaded Noson to use with my exciting Sonos set up but Noson said it can't find my Sonos network.
Terminal says this.

Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "unity-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported
(SONOS)Process: bind port 1400
qml: Zones_QMLTYPE_172(0x1d80260): In Ubuntu.Components 1.3, the use of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the PageHeader component instead.
(SONOS)registerModel: 0x1efe110 (Q:0)
qml: Debug: LANG=en_US

any help would be appreciated

Playback stopping Linux Mint

Hi
I've installed Noson on Linux Mint. When playing back the music will stop mid stream and the player becomes temporarily unresponsive. I tried changing the wireless channel on my router but this had no effect and the play still stops. I thn ran using noson-app --debug 2>&1 | tee noson.log and I have attached a logfile and hope that you can help.
Thanks

George

noson.txt

Fails to start on Linux Mint 18.2

I followed the instructions on the project page:

sudo add-apt-repository ppa:jlbarriere68/noson-app
sudo apt-get update
sudo apt-get install noson-app

But the noson-app window just pops up for a second and then closes again.

Note: Linux Mint 18.2 is based on Ubuntu 16.04

Plasma style causes a crash on start

I tried to change the style to Plasma and as a result, the app won't start. This is what gets printed in the terminal:

โžœ  ~ noson-app
"using file ':/i18n/noson_en.qm ' for translations."
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7fff9e3fb3c0), parent's thread is QThread(0x5638ef6f6860), current thread is QThread(0x5638ef74b520)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7fff9e3fb3c0), parent's thread is QThread(0x5638ef6f6860), current thread is QThread(0x5638ef74b520)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7fff9e3fb3c0), parent's thread is QThread(0x5638ef6f6860), current thread is QThread(0x5638ef74b520)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7fff9e3fb3c0), parent's thread is QThread(0x5638ef6f6860), current thread is QThread(0x5638ef74b520)
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7fff9e3fb3c0), parent's thread is QThread(0x5638ef6f6860), current thread is QThread(0x5638ef74b520)
QQmlApplicationEngine failed to load component
qrc:/noson.qml:53 Type DialogSettings unavailable
qrc:/components/Dialog/DialogSettings.qml:23 Type DialogBase unavailable
qrc:/components/Dialog/DialogBase.qml:83 "ScrollBar.policy" is not available due to component versioning.

QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7fff9e3fb3c0), parent's thread is QThread(0x5638ef6f6860), current thread is QThread(0x5638ef74b520)
QObject::installEventFilter(): Cannot filter events for objects in a different thread.

To recover I have to delete the style line from ~/.config/janbar/noson.conf so it resets back to Material.

I'm on Ubuntu 17.10, i3 WM.

Replace queue

New feature request.

The official Sonos apps let you replace the queue with new content. Right now my workflow is to click the menu on the bottom right -> Manage queue -> CLEAR QUEUE. Followed by "Play all" on the album I am trying to queue up.

It would be nice if on the album screen there was a "Replace queue" option.

Service authentication URL can't be copied to clipboard

When attempting to add Amazon Music (see bug #48), Noson asked me to click an OAuth link. However, the link displayed in Noson was incomplete (it only showed the client_id parameter, not all the additional OAuth stuff), and it wasn't possible to copy it to the clipboard.

I use a different browser profile for Amazon stuff, and this made it impossible to open the authentication link in the correct browser. To work around it, I had to temporarily change my default browser.

openSUSE packaging

Hi

Really a nice sonos application you have created! Really appreciate it.

I have started packaging the application for openSUSE. I have a working example. I think a few small improvements from a packaging perspective could be archived:

  • if libnoson is present it should be autodetected by cmake similar to the ssl/zlib libraries
  • I need a patch for the install prefix, since it is per default /usr when using the suse macros, wonder if it could be resolved for all distros.

If you are interested my spec file/patch is here:

https://build.opensuse.org/package/show/home:bosim:noson/noson-app

Thanks
Bo

Bandcamp service not listing music.

After adding my Bandcamp account to Noson (Ubuntu 16.04, PPA install), it fails to list the music I have collected on my account.
I'm not sure what information to provide in order for you to diagnose the problem.

(Fedora Flatpak) Can't find sonos zone

Hi,

I installed noson through flathub on my fedora install, but it can't seem to connect to my sonos zone.

Log:

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/jja2000/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Signal handler is enabled.
"using file ':/i18n/noson_nl.qm ' for translations."
installing thumbnails cache in folder "/home/jja2000/.var/app/io.github.janbar.noson/data/janbar/noson/QML/OfflineStorage"
thumbnailer Last.fm is initialized
(SONOS)Process: bind port 1400
qml: LANG=nl_NL
thumbnailer: configure key []
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out
(SONOS)ReceiveData: socket(0x7f4a45d12be8) timed out

I opened up udp/1400 in firewalld, the Android app works fine though

cli fails to find libpulsecommon-11.1.so even if it's there

Hi,
I'm trying to run the --cli verson to be able to script the music shutting down when I leave the house. I have an issue on getting it to to run:
noson --cli gives me:
/snap/noson/179/usr/lib/x86_64-linux-gnu/noson/noson-cli: error while loading shared libraries: libpulsecommon-11.1.so: cannot open shared object file: No such file or directory
and locate libpulsecommon-11.1.so gives me:
/snap/noson/179/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
so I have it :(

Do you have any clue?
BR
Benjamin

"No Sonos zone found"

Hi,

Just tried to test this app out and received "No Sonos zone found".

It's a fresh install of 16.04, no VPN or anything, just connected directly to the network the Sonos Play is on.

Are there any logs I can access?

openSUSE: Segmentation fault (core dumped)

I freshly installed the app from the openSUSE repos and after finding the sonos device it prints 'Segmentation fault (core dumped)' and exits.
Here is the terminal output:

ole@W500:~> noson-app
Signal handler is enabled.
"using file ':/i18n/noson_en.qm ' for translations."
installing thumbnails cache in folder "/home/ole/.local/share/janbar/noson/QML/OfflineStorage"
thumbnailer Last.fm is initialized
qml: LANG=en_GB
thumbnailer: configure key []
(SONOS)FindDeviceDescription: starting new context
(SONOS)FindDeviceDescription: location url found (http://192.168.0.101:1400/xml/device_description.xml)
(SONOS)FindDeviceDescription: server string found (Linux UPnP/1.0 Sonos/48.2-61220 (ZPS3))
(SONOS)FindDeviceDescription: search target matches
(SONOS)ParseZoneGroupState: new group 'RINCON_B8E937D0691C01400:1399363919' with coordinator 'RINCON_B8E937D0691C01400'
(SONOS)ParseZoneGroupState: new group member 'RINCON_B8E937D0691C01400' (Portable)
(SONOS)ParseZoneGroupState: topology key 186438505
Segmentation fault (core dumped)

Can't find Sonos Play 1 (v 8.4)

I've managed to compile noson and things were looking good but when I launch it it tells me "No Sonos zone found". The Sonos Play 1 device is on the local network, both my laptop and the Sonos are wired to the router by ethernet cables. The Sonos device recently updated its software automatically (this is a very annoying feature which I was not able to disable) and so now its version is 8.4 (build 41350131).

The android and windows controllers work though.

How should I go about debugging this? Also, did anybody try noson with version 8.4 on the sonos device?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.