YTuner icon indicating copy to clipboard operation
YTuner copied to clipboard

NOT A BUG : Pionneer hifi can't stream a radio

Open fab-kaz opened this issue 7 months ago • 4 comments

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 avatar May 30 '25 07:05 fab-kaz

@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 :

Image

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.

coffeegreg avatar Jun 01 '25 11:06 coffeegreg

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.

fab-kaz avatar Jun 01 '25 14:06 fab-kaz

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. 😞

coffeegreg avatar Jun 01 '25 14:06 coffeegreg

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.

fab-kaz avatar Aug 24 '25 12:08 fab-kaz