From b0cde71fe39986f62341501270a9d0158b4bfd18 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sat, 3 Dec 2016 12:04:13 +0100 Subject: [PATCH] If aborting fullsync, reset Kodi screensaver --- resources/lib/librarysync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 6db495cc..01677a05 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -583,6 +583,8 @@ class LibrarySync(Thread): # Do the processing for itemtype in process: if self.threadStopped(): + xbmc.executebuiltin('InhibitIdleShutdown(false)') + setScreensaver(value=screensaver) return False if not process[itemtype](): xbmc.executebuiltin('InhibitIdleShutdown(false)')