Bump plexapi to 4.12.1 (#76393)
parent
36808a0db4
commit
ea88f229a3
|
@ -4,7 +4,7 @@
|
|||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/plex",
|
||||
"requirements": [
|
||||
"plexapi==4.11.2",
|
||||
"plexapi==4.12.1",
|
||||
"plexauth==0.0.6",
|
||||
"plexwebsocket==0.0.13"
|
||||
],
|
||||
|
|
|
@ -462,24 +462,24 @@ class PlexServer:
|
|||
continue
|
||||
|
||||
session_username = next(iter(session.usernames), None)
|
||||
for player in session.players:
|
||||
unique_id = f"{self.machine_identifier}:{player.machineIdentifier}"
|
||||
if unique_id not in self.active_sessions:
|
||||
_LOGGER.debug("Creating new Plex session: %s", session)
|
||||
self.active_sessions[unique_id] = PlexSession(self, session)
|
||||
if session_username and session_username not in monitored_users:
|
||||
ignored_clients.add(player.machineIdentifier)
|
||||
_LOGGER.debug(
|
||||
"Ignoring %s client owned by '%s'",
|
||||
player.product,
|
||||
session_username,
|
||||
)
|
||||
continue
|
||||
player = session.player
|
||||
unique_id = f"{self.machine_identifier}:{player.machineIdentifier}"
|
||||
if unique_id not in self.active_sessions:
|
||||
_LOGGER.debug("Creating new Plex session: %s", session)
|
||||
self.active_sessions[unique_id] = PlexSession(self, session)
|
||||
if session_username and session_username not in monitored_users:
|
||||
ignored_clients.add(player.machineIdentifier)
|
||||
_LOGGER.debug(
|
||||
"Ignoring %s client owned by '%s'",
|
||||
player.product,
|
||||
session_username,
|
||||
)
|
||||
continue
|
||||
|
||||
process_device("session", player)
|
||||
available_clients[player.machineIdentifier][
|
||||
"session"
|
||||
] = self.active_sessions[unique_id]
|
||||
process_device("session", player)
|
||||
available_clients[player.machineIdentifier][
|
||||
"session"
|
||||
] = self.active_sessions[unique_id]
|
||||
|
||||
for device in devices:
|
||||
process_device("PMS", device)
|
||||
|
|
|
@ -1256,7 +1256,7 @@ pillow==9.2.0
|
|||
pizzapi==0.0.3
|
||||
|
||||
# homeassistant.components.plex
|
||||
plexapi==4.11.2
|
||||
plexapi==4.12.1
|
||||
|
||||
# homeassistant.components.plex
|
||||
plexauth==0.0.6
|
||||
|
|
|
@ -874,7 +874,7 @@ pilight==0.1.1
|
|||
pillow==9.2.0
|
||||
|
||||
# homeassistant.components.plex
|
||||
plexapi==4.11.2
|
||||
plexapi==4.12.1
|
||||
|
||||
# homeassistant.components.plex
|
||||
plexauth==0.0.6
|
||||
|
|
Loading…
Reference in New Issue