- streamlink
- VLC
streamlink --hls-live-edge=`date "+%M*60/2+%S/2" | bc` https://www.youtube.com/watch\?v\=b3NtpSc5RNw best --stdout | ffmpeg -i pipe:0 -q:a 0 -map a -f mp3 pipe:1 | vlc -
streamlink --hls-live-edge=`date "+%M*60/2+%S/2" | bc` https://www.youtube.com/watch\?v\=b3NtpSc5RNw best --stdout | ffmpeg -i pipe:0 -q:a 0 -map a -f mp3 pipe:1 | vlc -vvv - --sout '#standard{access=http,mux=mp3,dst=0.0.0.0:8080}'
then play with your Sonos speaker:
x-rincon-mp3radio://192.168.1.199:8080
where 192.168.1.199
is your IP