Merge pull request #1062 from croneter/faster-server-list

Check faster for available Plex Media Server to connect to
This commit is contained in:
croneter 2019-11-14 17:36:47 +01:00 committed by GitHub
commit 2446cdc41a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,7 +427,7 @@ def _poke_pms(pms, queue):
authenticate=False, authenticate=False,
headerOptions={'X-Plex-Token': pms['token']}, headerOptions={'X-Plex-Token': pms['token']},
verifySSL=True if v.KODIVERSION >= 18 else False, verifySSL=True if v.KODIVERSION >= 18 else False,
timeout=10) timeout=(3.0, 5.0))
try: try:
xml.attrib['machineIdentifier'] xml.attrib['machineIdentifier']
except (AttributeError, KeyError): except (AttributeError, KeyError):