From 71b048418eeb96296d186c37b858893ce9a86776 Mon Sep 17 00:00:00 2001 From: robweber Date: Sat, 3 Aug 2019 10:29:28 -0500 Subject: [PATCH] added 2 min delay in startup - part of #147 --- scheduler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scheduler.py b/scheduler.py index fbe2642..0debfd3 100644 --- a/scheduler.py +++ b/scheduler.py @@ -24,6 +24,10 @@ class BackupScheduler: if(self.enabled == "true"): + #sleep for 2 minutes so Kodi can start and time can update correctly + xbmc.sleep(1000 * 120) + utils.log("TESTING!") + nr = 0 if(xbmcvfs.exists(self.next_run_path)):