From bdad097bd03430716a8bfd6b6d3540dbdf3e21dc Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 17 Dec 2016 13:09:18 +0100 Subject: [PATCH] Less logging when checking connection --- resources/lib/PlexAPI.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index c2c4ea1b..384e36d9 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -289,8 +289,8 @@ class PlexAPI(): url = 'https://plex.tv/api/home/users' else: url = url + '/library/onDeck' - log.info("Checking connection to server %s with verifySSL=%s" - % (url, verifySSL)) + log.debug("Checking connection to server %s with verifySSL=%s" + % (url, verifySSL)) # Check up to 3 times before giving up count = 0 while count < 1: @@ -300,7 +300,7 @@ class PlexAPI(): verifySSL=verifySSL, timeout=4) if answer is None: - log.info("Could not connect to %s" % url) + log.debug("Could not connect to %s" % url) count += 1 xbmc.sleep(500) continue @@ -317,7 +317,7 @@ class PlexAPI(): # We could connect but maybe were not authenticated. No worries log.debug("Checking connection successfull. Answer: %s" % answer) return answer - log.info('Failed to connect to %s too many times. PMS is dead' % url) + log.debug('Failed to connect to %s too many times. PMS is dead' % url) return False def GetgPMSKeylist(self):