Files
addon/plugin.video.alfa/default.py
2017-07-28 19:37:39 -04:00

26 lines
532 B
Python
Executable File

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