TuneIn demo stations (BBC Radio 1, NPO Radio 2, KEXP) cannot be removed, and the BBC Radio 1 stream URL no longer delivers audio
Version: sonn core 4.0.0-beta.22 (ghcr.io/sonn-audio/core), Docker on Raspberry Pi 4 (aarch64), macvlan network, Loxone integrated, two zones with Google Cast speakers. No TuneIn username configured.
Observed In the Loxone app, Radio always shows three TuneIn stations: BBC Radio 1, NPO Radio 2 and KEXP 90.3 FM. They come from the hard-coded DEMO_STATIONS list in dist/adapters/content/providers/tunein/tuneinProvider.js, which is returned whenever no TuneIn username is set: if (!username) { return DEMO_STATIONS; } There is no setting, API call or file to hide or delete them. Users who only use Custom Streams (e.g. regional stations) still see three foreign stations they never added. BBC Radio 1 does not play. The demo URL http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one now answers with text/html instead of an audio stream. sonn logs Invalid data found when processing input and the app shows "Playback unavailable". (BBC retired these legacy stream hosts; BBC streams are also geo-restricted outside the UK.) NPO Radio 2 (audio/mpeg) and KEXP (audio/aac) still work.
Expected A way to hide the demo stations, e.g. a setting "Show TuneIn demo stations when no username is set" (default could stay on), or showing them only until at least one custom stream exists. A working URL for BBC Radio 1 or removing it from the demo list. Workaround used Patching line 123 of tuneinProvider.js inside the container to return []; and restarting the container. This is lost whenever the container is recreated from the image.
Thanks for sonn!
Thanks for reporting this! A fix is included in the upcoming beta. Once it's out, could you give it a try and let me know whether it resolves the issue for you?