kyjus25 / radiobrowser

website frontend with angular for radio-browser api
GNU Affero General Public License v3.0
4 stars 1 forks source link

send countrycode on new station #2

Closed segler-alex closed 5 years ago

segler-alex commented 5 years ago

the api is slowly moving away from the country field. it is deprecated now. new stations should add a countrycode field with the official 2 letter code. in the main radiobrowser gui i use an external server for getting an up to date json listing of worldwide country codes from United nations (https://restcountries.eu/) but any one could be used.

kyjus25 commented 5 years ago

Thanks for the heads up! I will use the same endpoint and follow suit

kyjus25 commented 5 years ago

@segler-alex this has been updated added!

https://radio-browser.live/#/stations/new