janbar / noson-app

The essential to control music from your SONOS devices on Linux platforms
GNU General Public License v3.0
334 stars 28 forks source link

No sonos zone found on PostmarketOS(alpine), flatpak, arm #221

Open Haui1112 opened 3 weeks ago

Haui1112 commented 3 weeks ago

Hi there! thank you so much for making this great app! It is working well on all my linux devices but this one. Let me know if you need more info. Have a good one.

system info

uname -a
Linux oneplus-enchilada 6.9.0-sdm845 #3-postmarketos-qcom-sdm845 SMP PREEMPT Sun Jun  9 15:23:06 UTC  aarch64 Linux
cat /etc/os-release
PRETTY_NAME="postmarketOS v24.06"
NAME="postmarketOS"
VERSION_ID="v24.06"
VERSION="v24.06"
ID="postmarketos"
ID_LIKE="alpine"
HOME_URL="https://www.postmarketos.org/"
SUPPORT_URL="https://gitlab.com/postmarketOS"
BUG_REPORT_URL="https://gitlab.com/postmarketOS/pmaports/issues"
LOGO="postmarketos-logo"

error output

QIBusPlatformInputContext: invalid portal bus.
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
Signal handler is enabled.
"no file found for translations ':/i18n/noson_C.qm' (using default)."
thumbnailer: register API [LASTFM]
thumbnailer: register API [DEEZER]
installing thumbnails cache in folder "/home/user/.var/app/io.github.janbar.noson/data/janbar/io.github.janbar.noson/QML/OfflineStorage"
thumbnailer is initialized
qml: LANG=C
thumbnailer: configure API [DEEZER]
registerContent: 0xaaaae21b0770 ()
registerContent: 0xaaaae21ae560 (FV:2)
registerContent: 0xaaaae21afac0 ()
registerContent: 0xaaaae203c080 (SQ:)
registerContent: 0xffff380310f0 (R:0/0)
registerContent: 0xaaaae21af010 ()
registerContent: 0xaaaae2004c30 ()

Steps to reproduce:

  1. install noson app from gnome software (DE is phosh)
  2. open app
  3. see "No Sonos zone found"

Expected behavior: Should display sonos devices in same network

janbar commented 3 weeks ago

Please show debug output using the command:

noson-app --debug

Probably you have a firewall configuration issue. The normal debug should show the discovered devices on your network, as follow:

...
registerContent: 0x57d61fc8e0a0 ()
registerContent: 0x57d61f989130 ()
(SONOS)FindDeviceDescription: starting new context
(SONOS)FindDeviceDescription: location url found (http://192.168.2.250:1400/xml/device_description.xml)
(SONOS)FindDeviceDescription: server string found (Linux UPnP/1.0 Sonos/57.14-37030 (ZP90))
(SONOS)FindDeviceDescription: search target matches
(SONOS)ParseZoneGroupState: new group 'RINCON_000E58266CBC01400:638' with coordinator 'RINCON_000E58266CBC01400'
(SONOS)ParseZoneGroupState: new group member 'RINCON_000E58266CBC01400' (Salon)
(SONOS)ParseZoneGroupState: new group 'RINCON_000E583F284001400:408' with coordinator 'RINCON_000E583F284001400'
(SONOS)ParseZoneGroupState: new group member 'RINCON_000E583F284001400' (Bureau)
(SONOS)ParseZoneGroupState: topology key 12359864
loadContent: 0x57d61fc8fa00 ()
(SONOS)GetPlayer: Salon
...
Haui1112 commented 2 weeks ago

I ran the flatpak with --debug. This is the output:

oneplus-enchilada:~$ cat noson.log
QIBusPlatformInputContext: invalid portal bus.
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
Signal handler is enabled.
"no file found for translations ':/i18n/noson_C.qm' (using default)."
thumbnailer: register API [LASTFM]
thumbnailer: register API [DEEZER]
installing thumbnails cache in folder "/home/user/.var/app/io.github.janbar.noson/data/janbar/io.github.janbar.noson/QML/OfflineStorage"
thumbnailer is initialized
qml: LANG=C
thumbnailer: configure API [DEEZER]
registerContent: 0xaaaae002a120 ()
registerContent: 0xaaaae0027900 (FV:2)
registerContent: 0xaaaae0029190 ()
registerContent: 0xaaaae0026f60 (SQ:)
registerContent: 0xaaaadfeb5ca0 (R:0/0)
registerContent: 0xaaaae00284e0 ()
registerContent: 0xaaaadfe7e7c0 ()
thumbnailer: reset state
unregisterContent: 0xaaaadfe7e7c0 ()
unregisterContent: 0xaaaae002a120 ()
unregisterContent: 0xaaaae0027900 (FV:2)
unregisterContent: 0xaaaae0029190 ()
unregisterContent: 0xaaaae0026f60 (SQ:)
unregisterContent: 0xaaaadfeb5ca0 (R:0/0)
unregisterContent: 0xaaaae00284e0 ()
(SONOS)Stop: subscription thread (0xaaaadff98a28:1)
(SONOS)Stop: subscription thread (0xaaaadff98a28:1) stopped
(SONOS)Stop: event handler thread (0xaaaadfd9cd30)
(SONOS)__connectAddr: connected to socket(0xaaaadfda29d8)
(SONOS)SendRequest: HEAD / HTTP/1.1
Host: 127.0.0.1:1400
User-Agent: libnoson/2.12.8
Connection: close
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate

(SONOS)Process: accepting new connection
(SONOS)AnnounceStatus: (0xaaaadfd9cd30) STOPPED
(SONOS)ParseQuery: HEAD / HTTP/1.1
(SONOS)ParseQuery: Host: 127.0.0.1:1400
(SONOS)ParseQuery: User-Agent: libnoson/2.12.8
(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: Server: libnoson/2.12.8
(SONOS)GetResponse: Connection: close
(SONOS)GetResponse: Content-Type: text/html
(SONOS)GetResponse: 
(SONOS)Stop: event handler thread (0xaaaadfd9cd30) stopped
(SONOS)UnregisterAllRequestBroker: unregister ([main-page])
(SONOS)UnregisterAllRequestBroker: unregister ([upnp-notification-broker])
(SONOS)UnregisterAllRequestBroker: unregister (images)
(SONOS)UnregisterAllRequestBroker: unregister (pulse)
(SONOS)UnregisterAllRequestBroker: unregister (track)
Signal handler is destroyed.