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
for itemtype in process:
if self.threadStopped():
xbmc.executebuiltin('InhibitIdleShutdown(false)')
setScreensaver(value=screensaver)
return False
if not process[itemtype]():
xbmc.executebuiltin('InhibitIdleShutdown(false)')