Check faster for available Plex Media Server to connect to

This commit is contained in:
croneter 2019-11-14 17:34:50 +01:00
parent 938b82da9c
commit 999743c6c1

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):