Use with Airsonic-Advanced
spongle70 opened this issue · comments
Hi @simojenki
Thanks for creating this!
Do you have any plans to make it work with Airsonic-Advanced? The current state of Gonic and Navidrome do not meet my needs.
I tried the using bonob and airsonic-advanced and get the attached errors.
The docker-compose file is:
version: "3"
services:
bonob:
image: simojenki/bonob:latest
container_name: bonob
restart: unless-stopped
network_mode: "host"
user: 1000:1000 # should be owner of volumes
ports:
- "4534:4534"
environment:
BNB_PORT: 4534
# ip address of your machine running bonob
BNB_URL: http://10.168.0.123:4534
BNB_SECRET: "changeme"
BNB_SONOS_AUTO_REGISTER: "true"
BNB_SONOS_DEVICE_DISCOVERY: "true"
BNB_SONOS_SERVICE_ID: 246
BNB_SUBSONIC_URL: http://10.168.0.123:4040
# ip address of one of your sonos devices
#BNB_SONOS_SEED_HOST: 192.168.1.121
Airsonic-advanced supports Sonos itself, why wouldn't you use that?
Hi
I have used that feature and love it. (Thanks for your effort on that).
I was hoping to use the Bonob tool to access my music from another network with Sonos devices.
You should be able to use Sonos with airsonic-advanced from another network. You would have to manually register airsonic-advanced with the Sonos device, as per these docs https://github.com/airsonic-advanced/airsonic-advanced/blob/master/SONOS.md#manually-registering-airsonic-with-sonos
Hi
Thanks for the reminder!
I can confirm that the setup works internally without problems.... (once I fixed my DNS issues).
I should have been clearer about the "another network"... what I meant was could this work across the internet?
I have just spent the last few hours trying the instructions across the internet.
Airsonic is accessible across the internet. Manual registration on the remote Sonos devices was performed as per documentation.
Whilst attempting to authenticate through the app... everything works except for after login is attempted.
The linkcode is stuck in pending on Airsonic and the attached error is "in" the app.
Also in the logs:
2022-03-29 20:07:42.129 WARN --- o.a.c.p.PhaseInterceptorChain : Application {http://service.player.airsonic.org/}SonosServiceService#{http://www.sonos.com/Services/1.1}getDeviceAuthToken has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Cannot find link code, retry