Adjust call signature for json.loads
This commit is contained in:
parent
a56655356c
commit
1d46779d57
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
Called when a bunch of different stuff happens on the Kodi side
|
Called when a bunch of different stuff happens on the Kodi side
|
||||||
"""
|
"""
|
||||||
if data:
|
if data:
|
||||||
data = loads(data, 'utf-8')
|
data = loads(data)
|
||||||
LOG.debug("Method: %s Data: %s", method, data)
|
LOG.debug("Method: %s Data: %s", method, data)
|
||||||
|
|
||||||
if method == "Player.OnPlay":
|
if method == "Player.OnPlay":
|
||||||
|
|
Loading…
Reference in a new issue