2020-03-19 16:45:31 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""Addon entry point"""
|
|
|
|
|
|
|
|
from __future__ import absolute_import, division, unicode_literals
|
|
|
|
|
2020-05-11 14:12:13 +02:00
|
|
|
from xbmcaddon import Addon
|
2020-03-19 16:45:31 +01:00
|
|
|
|
2020-05-11 14:12:13 +02:00
|
|
|
from resources.lib import kodiutils, kodilogging
|
2020-03-19 16:45:31 +01:00
|
|
|
|
2020-05-11 14:12:13 +02:00
|
|
|
# Reinitialise ADDON every invocation to fix an issue that settings are not fresh.
|
|
|
|
kodiutils.ADDON = Addon()
|
|
|
|
kodilogging.ADDON = Addon()
|
2020-03-19 16:45:31 +01:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
from sys import argv
|
|
|
|
from resources.lib.addon import run
|
|
|
|
|
|
|
|
run(argv)
|