radiobrowser-api-rust icon indicating copy to clipboard operation
radiobrowser-api-rust copied to clipboard

Tens of thousands of unnecessary characters in some streaming links

Open GHbasicuser opened this issue 2 years ago • 3 comments

Hi,

I noticed that there were many radio station links in the database that contained more than 14,000 totally useless (extra) characters. (like this one "Tick Tock Radio - 1950" - https://www.radio-browser.info/history/cde988ac-9376-41c7-a29c-ae779cbb5830 - 14.000 "O" and a F* y.. at the end)

Most seem to be "Tick Tock" (IceCast Audio) radio stations. Wouldn't there be a way to prevent this and clean up the base?

Thank you, Good continuation !

GHbasicuser avatar Apr 27 '22 08:04 GHbasicuser

This link isn't broken, it contains thousands of extra characters (totally useless) but it's functional. 😐

GHbasicuser avatar May 04 '22 18:05 GHbasicuser

What about using a URL shortener for url_resolved if it is over a certain length? I know that is.gd has a public no limits no auth api for this

Explosion-Scratch avatar Jun 02 '22 02:06 Explosion-Scratch

I have simply decided to strip all URL parameters (anything after the question mark) as they aren't needed to listen to stream.

JazzfanRS avatar Jun 09 '22 17:06 JazzfanRS