NOT A BUG : Pionneer hifi can't stream a radio
Hello,
First, thank you for great work !
Ytuner works like a charm here (i had to deal with a already installed dnsmasq though). Most of the mp3 streams works ok from my pionneer hifi except this one: https://stream.radios.bzh/listen/rkb/radio.mp3 However, i can easily access the mp3 stream with a browser.
Do you think Ytuner 2.0 will solve this problem or should i think about transcoding the stream on my server then deliver it the pionner hifi ?
Thank you and regards,
Fabrice.
@fab-kaz Hi Fabrice,
Most of the mp3 streams works ok from my pionneer hifi except this one: https://stream.radios.bzh/listen/rkb/radio.mp3 However, i can easily access the mp3 stream with a browser.
Unfortunately, most of our devices do not support TLS/SSL (https). This radio station uses it and even if we want to force the http protocol it will be redirected with HTTP301 anyway :
Do you think Ytuner 2.0 will solve this problem ...
No, not in this case. YTuner v2.0 can auto resolve URL links (look at this thread https://github.com/coffeegreg/YTuner/discussions/36#discussioncomment-11182454 and info about MANGORADIO) but this won't help with your link https://stream.radios.bzh/listen/rkb/radio.mp3 because it requires TLS/SSL support. YTuner does not in any way mediate the audio stream between the AVR and radio stations.
i think about transcoding the stream on my server then deliver it the pionner hifi ?
It seems that the transcoding process is not necessary. In this case it would be required to build a proxy service that would terminate TLS/SSL traffic and intermediate communication between the AVR and the radio station.
Hey,
thank you for your quick answer ! I wonder: in a future version, maybe Ytuner webserver could proxy this http stream to the avr ? regards, f.
thank you for your quick answer !
Unfortunately my answer wasn't quick. I've been very busy for the last few weeks and I don't have time to work on YTuner and finally prepare version v2.0.0 even though most of it is already done and I'm testing it in my free time.
I wonder: in a future version, maybe Ytuner webserver could proxy this http stream to the avr ?
I'll think about it... 🤔 It's all about free time, which I always lack. 😞
Hey, i'm back.
i've done what you told me: a proxy to distribute http when https is asked. And it works like a charm :)
Here it is:
`cat /etc/nginx/sites-enabled/radios.conf server { listen 84;
# Radio RKB
location /rkb.mp3 {
proxy_pass https://stream.radios.bzh/listen/rkb/radio.mp3;
proxy_set_header Host stream.radios.bzh;
}
}
And in the stations.ini, i have simply:RKB-Radio-Kreiz-Breizh=http://192.168.1.108:84/rkb.mp3`
Thanx you for all !
f.