If aborting fullsync, reset Kodi screensaver

This commit is contained in:
tomkat83 2016-12-03 12:04:13 +01:00
parent e6b4646aa1
commit b0cde71fe3

View file

@ -583,6 +583,8 @@ class LibrarySync(Thread):
# Do the processing # Do the processing
for itemtype in process: for itemtype in process:
if self.threadStopped(): if self.threadStopped():
xbmc.executebuiltin('InhibitIdleShutdown(false)')
setScreensaver(value=screensaver)
return False return False
if not process[itemtype](): if not process[itemtype]():
xbmc.executebuiltin('InhibitIdleShutdown(false)') xbmc.executebuiltin('InhibitIdleShutdown(false)')