mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Handle empty Plex client username (#33271)
This commit is contained in:
parent
6c6318d18f
commit
f1e58d0784
@ -171,7 +171,7 @@ class PlexServer:
|
||||
continue
|
||||
session_username = session.usernames[0]
|
||||
for player in session.players:
|
||||
if session_username not in monitored_users:
|
||||
if session_username and session_username not in monitored_users:
|
||||
ignored_clients.add(player.machineIdentifier)
|
||||
_LOGGER.debug("Ignoring Plex client owned by %s", session_username)
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user