2017-03-17 04:41:46 +00:00
|
|
|
# Gnu General Public License - see LICENSE.TXT
|
2014-09-28 00:30:07 +00:00
|
|
|
|
2019-10-14 00:55:18 +00:00
|
|
|
import xbmcaddon
|
|
|
|
|
2017-03-16 20:10:35 +00:00
|
|
|
from resources.lib.simple_logging import SimpleLogging
|
2017-03-17 04:41:46 +00:00
|
|
|
from resources.lib.functions import mainEntryPoint
|
2019-10-14 00:55:18 +00:00
|
|
|
from resources.lib.tracking import set_timing_enabled
|
2017-03-16 20:10:35 +00:00
|
|
|
|
2017-05-29 10:19:33 +00:00
|
|
|
log = SimpleLogging('default')
|
2014-09-28 00:30:07 +00:00
|
|
|
|
2019-10-14 00:55:18 +00:00
|
|
|
settings = xbmcaddon.Addon()
|
|
|
|
log_timing_data = settings.getSetting('log_timing') == "true"
|
|
|
|
if log_timing_data:
|
|
|
|
set_timing_enabled(True)
|
|
|
|
|
2017-07-08 00:34:30 +00:00
|
|
|
log.debug("About to enter mainEntryPoint()")
|
2017-03-09 08:41:53 +00:00
|
|
|
|
2017-07-08 00:34:30 +00:00
|
|
|
mainEntryPoint()
|
2014-10-02 06:02:50 +00:00
|
|
|
|
2017-05-29 10:19:33 +00:00
|
|
|
# clear done and exit.
|
|
|
|
# sys.modules.clear()
|