Check faster for available Plex Media Server to connect to
This commit is contained in:
parent
938b82da9c
commit
999743c6c1
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue