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
|
|
|
|
|
2022-03-09 21:27:18 +00:00
|
|
|
from resources.lib.lazylogger import LazyLogger
|
2020-06-21 01:27:09 +00:00
|
|
|
from resources.lib.functions import main_entry_point
|
2019-10-14 00:55:18 +00:00
|
|
|
from resources.lib.tracking import set_timing_enabled
|
2017-03-16 20:10:35 +00:00
|
|
|
|
2020-07-25 05:01:30 +00:00
|
|
|
log = LazyLogger('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
|
|
|
|
2020-06-21 01:27:09 +00:00
|
|
|
main_entry_point()
|