mirror of
https://github.com/home-assistant/core.git
synced 2026-10-07 14:58:11 -04:00
Bump radios to 2.0.1 (#184205)
This commit is contained in:
@@ -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(
|
||||
|
||||
Generated
+1
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user