This commit is contained in:
2025-10-25 13:21:06 +02:00
parent eb57506d39
commit 033ffb21f5
8388 changed files with 484789 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
from kodi_six import xbmcgui
import resources.lib.utils as utils
from resources.lib.service import AutoUpdater
autoUpdate = AutoUpdater()
runUpdate = False
if(not utils.getSettingBool('disable_manual_prompt')):
nextRun = autoUpdate.showNotify(False)
# check if we should run updates
runUpdate = xbmcgui.Dialog().yesno(utils.getString(30000), "%s %s \n %s" % (utils.getString(30060), nextRun, utils.getString(30061)), autoclose=6000)
else:
# the user has elected to skip the prompt
runUpdate = True
if(runUpdate):
# run the program
utils.log("Update Library Manual Run...")
# update the schedules and evaluate them in manual override mode
autoUpdate.evalSchedules(True)