segler-alex / radiobrowser-api-rust

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

Can we have servers location field please? (/json/servers et al) #113

Closed s-n-g closed 3 years ago

s-n-g commented 3 years ago

Hi there @segler-alex

I am back on working on radiobrowser support for pyradio after such a long long time... So this is where I am at the moment (just showing 100 top votted stations, no search function yet...)

So, here's the thing: I would like to make it possible for the user to select a specific server, so I would like to present to him the server location instead of / along with the url. Is it too much trouble to ask you to add a "location" field on these?

Thanks S.

BTW, I have noticed server sync is a bit off. searching fot "big band" tag (hidebroken=True) I get "The UK 1940s Radio Station" http://149.255.59.162:8062/stream (top votted) station on fr1 and nl1 servers, but it's not there on de1. The station is broken (does not play).

segler-alex commented 3 years ago

yes, i will add 2 fields at /json/config endpoint

segler-alex commented 3 years ago

will be there in 0.7.10