Improve logging

This commit is contained in:
tomkat83 2016-07-22 15:17:38 +02:00
parent a26526c146
commit dd1f50efe6

View file

@ -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')