Improve logging
This commit is contained in:
parent
ab47ac958a
commit
16dbc726f1
1 changed files with 1 additions and 1 deletions
|
@ -62,10 +62,10 @@ 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):
|
||||||
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')
|
||||||
|
self.logMsg("Method: %s Data: %s" % (method, data), 1)
|
||||||
|
|
||||||
if method == "Player.OnPlay":
|
if method == "Player.OnPlay":
|
||||||
self.PlayBackStart(data)
|
self.PlayBackStart(data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue