Handle empty Plex client username (#33271)
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…
Reference in New Issue