Improve logging
This commit is contained in:
parent
a26526c146
commit
dd1f50efe6
1 changed files with 1 additions and 2 deletions
|
@ -62,8 +62,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
utils.window('plex_logLevel', value=currentLog)
|
utils.window('plex_logLevel', value=currentLog)
|
||||||
|
|
||||||
def onNotification(self, sender, method, data):
|
def onNotification(self, sender, method, data):
|
||||||
if method not in ("Playlist.OnAdd"):
|
self.logMsg("Method: %s Data: %s" % (method, data), 1)
|
||||||
self.logMsg("Method: %s Data: %s" % (method, data), 1)
|
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
data = json.loads(data, 'utf-8')
|
data = json.loads(data, 'utf-8')
|
||||||
|
|
Loading…
Reference in a new issue