Skip updates when Plex client viewing photos (#31556)
This commit is contained in:
parent
0e68ace3dd
commit
3a3328dc13
2 changed files with 6 additions and 0 deletions
|
@ -132,6 +132,9 @@ class PlexServer:
|
|||
_LOGGER.debug("New device: %s", device.machineIdentifier)
|
||||
|
||||
for session in sessions:
|
||||
if session.TYPE == "photo":
|
||||
_LOGGER.debug("Photo session detected, skipping: %s", session)
|
||||
continue
|
||||
for player in session.players:
|
||||
self._known_idle.discard(player.machineIdentifier)
|
||||
available_clients.setdefault(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue