19 lines
441 B
Python
19 lines
441 B
Python
# -*- coding: utf-8 -*-
|
|
"""Addon entry point"""
|
|
|
|
from __future__ import absolute_import, division, unicode_literals
|
|
|
|
from xbmcaddon import Addon
|
|
|
|
from resources.lib import kodiutils, kodilogging
|
|
|
|
# Reinitialise ADDON every invocation to fix an issue that settings are not fresh.
|
|
kodiutils.ADDON = Addon()
|
|
kodilogging.ADDON = Addon()
|
|
|
|
if __name__ == '__main__':
|
|
from sys import argv
|
|
from resources.lib.addon import run
|
|
|
|
run(argv)
|