Bump radios to 2.0.1 (#184205)

This commit is contained in:
Franck Nijhof
2026-10-04 15:25:13 +02:00
committed by GitHub
parent 790d231fa2
commit 3fbd190077
3 changed files with 2 additions and 9 deletions
@@ -6,6 +6,6 @@
"documentation": "https://www.home-assistant.io/integrations/radio_browser",
"integration_type": "service",
"iot_class": "cloud_polling",
"requirements": ["radios==1.0.0", "pycountry==24.6.1"],
"requirements": ["radios==2.0.1"],
"single_config_entry": true
}
@@ -3,7 +3,6 @@
import mimetypes
from typing import override
import pycountry
from radios import FilterBy, Order, RadioBrowser, RadioBrowserError, Station
from homeassistant.components.media_player import (
@@ -221,9 +220,6 @@ class RadioMediaSource(MediaSource):
# We show country in the root additionally, when there is no item
if not item.identifier or category == "country":
# Trigger the lazy loading of the country database
# to happen inside the executor
await self.hass.async_add_executor_job(lambda: len(pycountry.countries))
countries = await radios.countries(order=Order.NAME)
return [
BrowseMediaSource(
+1 -4
View File
@@ -2150,9 +2150,6 @@ pycomfoconnect==0.5.1
# homeassistant.components.coolmaster
pycoolmasternet-async==0.2.6
# homeassistant.components.radio_browser
pycountry==24.6.1
# homeassistant.components.microsoft
pycsspeechtts==1.0.8
@@ -2948,7 +2945,7 @@ qnapstats==0.4.0
quantum-gateway==0.0.8
# homeassistant.components.radio_browser
radios==1.0.0
radios==2.0.1
# homeassistant.components.radiotherm
radiotherm==2.1.0