Skip updates when Plex client viewing photos (#31556)
This commit is contained in:
1 parent
0e68ace3dd
commit
3a3328dc13
2 files changed
+6
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user