added timeout on startup to allow time to sync

This commit is contained in:
Rob Weber 2019-08-09 09:59:57 -05:00
parent 2e7080fef8
commit 32d2fde51c
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@ Version 1.1.3
added file chunk support for dropbox uploads
fixed settings duplicate ids, thanks aster-anto
added scheduler delay to assist with time sync (rpi mostly)
Version 1.1.2

View File

@ -22,6 +22,9 @@ class BackupScheduler:
if(self.enabled == "true"):
#sleep for 2 minutes so Kodi can start and time can update correctly
xbmc.Monitor().waitForAbort(120)
nr = 0
if(xbmcvfs.exists(self.next_run_path)):