Thank you! I was able to add it via the macOS Sonos app too - I didn’t know these existed. I did have to jump over to my IoT WiFi network, since the Sonos app will only look at the LAN for the network you are on (even if they can talk to each other.)
Now I’m hitting this error when I actually try to stream, but I suspect this is a separate issue and will go do some digging: Failed to perform the action media_player/play_media. Error calling SonosMediaPlayerEntity._play_media on media_player.bedroom: UPnP Error 701 received: Transition not available from 192.168.73.135
EDIT: Hmm, so it still doesn’t show up in “Sonos Favorites” on Android - but does appear in the macOS Sonos app. But trying to actually play it, even from the Sonos app, does not work. However, the radios you provided do work, so I assume something is wrong with this stream (even though I can play it on my computer.) Maybe TuneIn doesn’t support OGG?
EDIT 2: I tried the instructions here to add it to TuneIn (new) and am able to play the stream correctly in the TuneIn app, so it now shows up in the Android Sonos app too, but as soon as I try to play it in Sonos, it fails. What a bummer. Sonos claims to support OGG so I’m not sure what else could be going wrong. Although if this is considered HLS it seems it must be mp3… but I wonder then why it works if I trigger it directly with music_assisstant.play_media… is it transcoding the stream for me?
EDIT 3: Yes, it looks like that is what’s happening:
root 2603458 0.9 0.8 186852 34944 ? Sl 15:39 0:02 \_ ffmpeg -hide_banner -loglevel info -nostats -ignore_unknown -protocol_whitelist file,hls,http,https,tcp,tls,crypto,pipe,data,fd,rtp,udp,concat -ac 2 -channel_layout stereo -ar 48000 -acodec pcm_f32le -f f32le -i - -af alimiter=limit=-2dB:level=false:asc=true,aresample=resampler=soxr:precision=30:osf=s16:dither_method=triangular_hp -ac 2 -channel_layout stereo -sample_fmt s16 -ar 48000 -f flac -compression_level 0 -
root 2603459 2.5 0.7 177512 29284 ? Sl 15:39 0:07 \_ ffmpeg -hide_banner -loglevel info -nostats -ignore_unknown -protocol_whitelist file,hls,http,https,tcp,tls,crypto,pipe,data,fd,rtp,udp,concat -reconnect 1 -reconnect_delay_max 30 -reconnect_streamed 1 -reconnect_on_network_error 1 -reconnect_on_http_error 5xx,4xx -i https://radio.darkscience.net:8443/stream.ogg -af volume=2.6dB -ac 2 -channel_layout stereo -ar 48000 -acodec pcm_f32le -f f32le -
So is there any way to get Music Assistant sources into the Sonos card? If not, I suppose I will just add a custom button near the Sonos card.