mirror of
https://github.com/jellyfin/jellycon.git
synced 2024-11-23 14:09:55 +00:00
22 lines
509 B
Python
22 lines
509 B
Python
# Gnu General Public License - see LICENSE.TXT
|
|
|
|
import xbmcaddon
|
|
|
|
from resources.lib.simple_logging import SimpleLogging
|
|
from resources.lib.functions import mainEntryPoint
|
|
from resources.lib.tracking import set_timing_enabled
|
|
|
|
log = SimpleLogging('default')
|
|
|
|
settings = xbmcaddon.Addon()
|
|
log_timing_data = settings.getSetting('log_timing') == "true"
|
|
if log_timing_data:
|
|
set_timing_enabled(True)
|
|
|
|
log.debug("About to enter mainEntryPoint()")
|
|
|
|
mainEntryPoint()
|
|
|
|
# clear done and exit.
|
|
# sys.modules.clear()
|