Files
addon/default.py
greko17 de0f115f92 fix: resolverDNS
spostato import in default.py
2019-12-16 11:13:01 +01:00

28 lines
579 B
Python

# -*- coding: utf-8 -*-
# ------------------------------------------------------------
# XBMC entry point
# ------------------------------------------------------------
import os
import sys
from specials import resolverdns
import xbmc
from platformcode import config, logger
import ssl
logger.info(ssl.OPENSSL_VERSION)
logger.info("init...")
librerias = xbmc.translatePath(os.path.join(config.get_runtime_path(), 'lib'))
sys.path.insert(0, librerias)
from platformcode import launcher
if sys.argv[2] == "":
launcher.start()
launcher.run()
else:
launcher.run()