Improve Plex GDM client connections (#48272)

This commit is contained in:
jjlawren 2021-03-24 01:57:45 -05:00 committed by GitHub
parent 0d699bb768
commit 879c82ebf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -398,9 +398,10 @@ class PlexServer:
client = PlexClient( client = PlexClient(
server=self._plex_server, server=self._plex_server,
baseurl=baseurl, baseurl=baseurl,
identifier=machine_identifier,
token=self._plex_server.createToken(), token=self._plex_server.createToken(),
) )
except requests.exceptions.ConnectionError: except (NotFound, requests.exceptions.ConnectionError):
_LOGGER.error( _LOGGER.error(
"Direct client connection failed, will try again: %s (%s)", "Direct client connection failed, will try again: %s (%s)",
name, name,