segler-alex / radiobrowser-api-rust

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

When does hidebroken become true in search endpoint? #134

Closed Canuma closed 2 years ago

Canuma commented 2 years ago

I am not sure if this is a bug, intended behavior, or if I am doing something stupid. Take this request for example: json/stations/search?order=name&reverse=false&limit=200&name=80er&?hidebroken=true The result will be the same no matter if hidebroken is true or false. Moreover, some stations have lastcheckok = 0. I'd expect that if hidebroken param was true, that all stations with lastcheckok would be 1? Or do stations have to fail this check several times before they become "broken"?

Canuma commented 2 years ago

sigh Sometimes it is better to check what you are doing before making requests. Yeah, I did something stupid. Sorry