mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-29 12:26:12 +00:00
Moved JsonDebugPrinter to existing utils module
This commit is contained in:
parent
7491000a13
commit
de493d13dd
6 changed files with 25 additions and 24 deletions
|
@ -15,7 +15,8 @@ import downloader
|
|||
import player
|
||||
from client import get_device_id
|
||||
from objects import PlaylistWorker, on_play, on_update, special_listener
|
||||
from helper import translate, settings, window, dialog, api, JSONRPC, debug
|
||||
from helper import translate, settings, window, dialog, api, JSONRPC
|
||||
from helper.utils import JsonDebugPrinter
|
||||
from jellyfin import Jellyfin
|
||||
from webservice import WebService
|
||||
|
||||
|
@ -96,7 +97,7 @@ class Monitor(xbmc.Monitor):
|
|||
|
||||
data = json.loads(data)
|
||||
|
||||
LOG.debug("[ %s: %s ] %s", sender, method, debug.JsonDebugPrinter(data))
|
||||
LOG.debug("[ %s: %s ] %s", sender, method, JsonDebugPrinter(data))
|
||||
|
||||
if self.sleep:
|
||||
LOG.info("System.OnSleep detected, ignore monitor request.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue