Fix TypeError upon deactivating screensaver
This commit is contained in:
parent
a149d8de27
commit
c4156cb865
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
elif method == "GUI.OnScreensaverDeactivated":
|
elif method == "GUI.OnScreensaverDeactivated":
|
||||||
if utils.settings('dbSyncScreensaver') == "true":
|
if utils.settings('dbSyncScreensaver') == "true":
|
||||||
self.waitForAbort(5)
|
self.waitForAbort(5)
|
||||||
utils.plex_command('RUN_LIB_SCAN', 'full')
|
app.SYNC.run_lib_scan = 'full'
|
||||||
elif method == "System.OnQuit":
|
elif method == "System.OnQuit":
|
||||||
LOG.info('Kodi OnQuit detected - shutting down')
|
LOG.info('Kodi OnQuit detected - shutting down')
|
||||||
app.APP.stop_pkc = True
|
app.APP.stop_pkc = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue