fix updater and re-add dev mode

This commit is contained in:
marco
2019-06-14 21:13:17 +02:00
parent d88081d2ec
commit 61150c5103
2 changed files with 171 additions and 2 deletions

View File

@@ -64,8 +64,10 @@ def run(item=None):
else:
item = Item(channel="channelselector", action="getmainlist", viewmode="movie")
if not config.get_setting('show_once'):
from platformcode import updater
updater.calcCurrHash()
if not os.path.isdir(config.get_runtime_path() + '/.git'):
logger.info("DEV MODE OFF")
from platformcode import updater
updater.calcCurrHash()
from platformcode import xbmc_videolibrary
xbmc_videolibrary.ask_set_content(1, config.get_setting('videolibrary_kodi_force'))
config.set_setting('show_once', True)