new updater

This commit is contained in:
marco
2019-06-14 20:43:41 +02:00
parent 53cc111e74
commit 0cc1e53857
2 changed files with 269 additions and 275 deletions
+2 -3
View File
@@ -64,6 +64,8 @@ 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()
from platformcode import xbmc_videolibrary
xbmc_videolibrary.ask_set_content(1, config.get_setting('videolibrary_kodi_force'))
config.set_setting('show_once', True)
@@ -75,9 +77,6 @@ def run(item=None):
if item.action == "":
logger.info("Item sin accion")
return
if item.action == "update":
updater.update()
# Action for main menu in channelselector
elif item.action == "getmainlist":