segler-alex / radiobrowser-api-rust

radio-browser API implementation in rust
GNU Affero General Public License v3.0
234 stars 104 forks source link

Is ice-main-stream-url actually honored by radio-browser.info ? #158

Closed alexte closed 2 years ago

alexte commented 2 years ago

I like your approach that radio stations report their meta data via headers.

icy-main-stream-url is described as: "This may be used by stream providers to direct indexers to the main publicly exposed url. Indexers should update their database accordingly."

Does https://www.radio-browser.info/ actually use this header to overwrite the stream-url?

Or asked the other way round:

When I move my stream URL from http://jazz.w3.at:800/w3jazz.mp3 to https://air.jazz.w3.at/jazzw3.mp3

do I have to add my radios station again, or can this be done automatically via the icy-main-stream-url ?

alexte commented 2 years ago

It seams it does, StreamCheckBot is visiting the new URL.

BTW today I learned: icy-geo-lat-long is ignore if there is a space between the numbers "nn.nn, nn.nn"