mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Bump PlexAPI to 4.18.2 (#181783)
Co-authored-by: Robert Resch <robert@resch.dev> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Robert Resch
Copilot Autofix powered by AI
parent
0fed03aa68
commit
165ddfbbf0
@@ -9,7 +9,7 @@
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["plexapi", "plexwebsocket"],
|
||||
"requirements": [
|
||||
"PlexAPI==4.15.16",
|
||||
"PlexAPI==4.18.2",
|
||||
"plexauth==0.0.6",
|
||||
"plexwebsocket==0.0.14"
|
||||
],
|
||||
|
||||
@@ -195,7 +195,7 @@ def browse_media( # noqa: C901
|
||||
"children": [],
|
||||
"children_media_class": children_media_class,
|
||||
}
|
||||
for item in hub.items:
|
||||
for item in hub.items():
|
||||
if hub.type == "station":
|
||||
if platform == "sonos":
|
||||
continue
|
||||
|
||||
Generated
+1
-1
@@ -44,7 +44,7 @@ PSNAWP==3.0.3
|
||||
Pillow==12.3.0
|
||||
|
||||
# homeassistant.components.plex
|
||||
PlexAPI==4.15.16
|
||||
PlexAPI==4.18.2
|
||||
|
||||
# homeassistant.components.progettihwsw
|
||||
ProgettiHWSW==0.1.3
|
||||
|
||||
@@ -121,6 +121,7 @@ async def test_browse_media(
|
||||
requests_mock: requests_mock.Mocker,
|
||||
hubs,
|
||||
hubs_music_library,
|
||||
media_1: str,
|
||||
) -> None:
|
||||
"""Test getting Plex clients from plex.tv."""
|
||||
websocket_client = await hass_ws_client(hass)
|
||||
@@ -160,6 +161,10 @@ async def test_browse_media(
|
||||
f"{mock_plex_server.url_in_use}/hubs",
|
||||
text=hubs,
|
||||
)
|
||||
requests_mock.get(
|
||||
f"{mock_plex_server.url_in_use}/hubs/home/continueWatching?includeGuids=1",
|
||||
text=media_1,
|
||||
)
|
||||
|
||||
# Browse into a special folder (server)
|
||||
msg_id += 1
|
||||
|
||||
Reference in New Issue
Block a user