Improve Plex GDM client connections (#48272)
This commit is contained in:
parent
0d699bb768
commit
879c82ebf8
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue