Speed up checking of PMS connection, e.g. on startup
This commit is contained in:
parent
a7702573ad
commit
fe3293e986
1 changed files with 0 additions and 2 deletions
|
@ -143,8 +143,6 @@ def check_connection(url, token=None, verifySSL=None):
|
|||
verifySSL = None if settings('sslverify') == 'true' else False
|
||||
if 'plex.tv' in url:
|
||||
url = 'https://plex.tv/api/home/users'
|
||||
else:
|
||||
url = url + '/library/onDeck'
|
||||
LOG.debug("Checking connection to server %s with verifySSL=%s",
|
||||
url, verifySSL)
|
||||
answer = DU().downloadUrl(url,
|
||||
|
|
Loading…
Reference in a new issue