You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python-radios cannot map the XK country code to Kosovo. Kosovo doesn't have a 'proper' ISO code, because of political problems that this github issue is too small to contain.
Expected behavior
Radio stations in Kosovo show up under the 'Kosovo' country.
Actual behavior
In the 'Radio Browser' integration in Home Assistant, in the country view, Kosovo radio stations can only be found at the bottom, under 'XK'.
Steps to reproduce
(How can someone else make/see it happen)
Install Home Assistant and the Radio Browser integration (I imagine you've already done that ;)
In Media > Radio Browser, look for Kosovo
Proposed changes
(If you have a proposed change, workaround or fix,
describe the rationale behind it)
pycountry/pycountry#100 will probably not get solved, because the maintainer only adds countries with an assigned ISO 3166 code.
python-radios should manually override the name lookup if the radio station's country code is XK.
Activity
grischard commentedon Mar 10, 2022
Thank you!