Less Plex Companion logging
This commit is contained in:
parent
f23fdb1c9c
commit
4358a42424
1 changed files with 0 additions and 3 deletions
|
@ -106,8 +106,6 @@ class jsonClass():
|
||||||
"jsonrpc" : "2.0",
|
"jsonrpc" : "2.0",
|
||||||
"method" : action})
|
"method" : action})
|
||||||
|
|
||||||
self.logMsg("Sending request to XBMC without network stack: %s"
|
|
||||||
% request, 2)
|
|
||||||
result = self.parseJSONRPC(xbmc.executeJSONRPC(request))
|
result = self.parseJSONRPC(xbmc.executeJSONRPC(request))
|
||||||
|
|
||||||
if not result and self.settings['webserver_enabled']:
|
if not result and self.settings['webserver_enabled']:
|
||||||
|
@ -145,7 +143,6 @@ class jsonClass():
|
||||||
self.logMsg("Empty response from XBMC", 1)
|
self.logMsg("Empty response from XBMC", 1)
|
||||||
return {}
|
return {}
|
||||||
else:
|
else:
|
||||||
self.logMsg("Response from XBMC: %s" % jsonraw, 2)
|
|
||||||
parsed=json.loads(jsonraw)
|
parsed=json.loads(jsonraw)
|
||||||
if parsed.get('error', False):
|
if parsed.get('error', False):
|
||||||
self.logMsg("XBMC returned an error: %s" % parsed.get('error'), -1)
|
self.logMsg("XBMC returned an error: %s" % parsed.get('error'), -1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue