mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-11 02:46:34 +00:00
The way the logging was initialized varied from file to file. This just updates the init to be the same everywhere. Also updates some LOG.warn to be LOG.info.
24 lines
660 B
Python
24 lines
660 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
#################################################################################################
|
|
|
|
import logging
|
|
|
|
import xbmc
|
|
import xbmcvfs
|
|
|
|
from helper import loghandler
|
|
from jellyfin import Jellyfin
|
|
|
|
#################################################################################################
|
|
|
|
Jellyfin.set_loghandler(loghandler.LogHandler, logging.DEBUG)
|
|
loghandler.reset()
|
|
loghandler.config()
|
|
LOG = logging.getLogger('JELLYFIN.' + __name__)
|
|
|
|
#################################################################################################
|
|
|
|
from default import Events
|
|
from service import Service
|
|
from context import Context
|