milaq / YCast

Self hosted vTuner internet radio service emulation
Other
243 stars 93 forks source link

Implement vTuner import function #33

Open blogmotion opened 4 years ago

blogmotion commented 4 years ago

Hello,

Not an issue but a suggestion. When I'm connected to vTuner Radio Guide I can find the URL of a station, for example : https://yradio.vtuner.com/setupapp/yamaha/asp/func/dynampls.asp?link=1&id=21301 ==> please note the ID 21301

URL redirect to : https://yradio.vtuner.com/pls/pls21301.m3u ==> ID 21301 here again

I try yo use the first URL or the second (redirected) in stations.yml but Ycast can't read the stream. Do you think it's possible to support this ? It would be easy to import bookmarked webradios of vTuner service. Or tell me if it's possible to use a radio-browser.info stream URL in stations.yml ? There is a lot of entry and scroll is not easy to find a radio with yamaha remote.

Thank you

milaq commented 4 years ago

Phew, that would be very hackish, as we override vtuner urls already. Maybe we can keep this as an potential original vTuner "import" function suggestion though.

For the time being, you can of course manually inspect the m3u or pls files for the correct stream urls. For the station mentioned above that would be: http://cdn.nrjaudio.fm/adwz1/fr/30053/mp3_128.mp3

blogmotion commented 4 years ago

the problem with radio browser is the number of radios, you have to scroll with the remote control for a very long time before finding a radio. A system based on the radio-browser ID of a radio in the stations.yml file would be great. This would avoid having manual URLs that end in 404 over time.

milaq commented 4 years ago

Ah, I see. You're suggesting a manual bookmark function via RB IDs in the stations.yml.

I'll add it to the enhancements list.