Inhibit idle shutdown only during initial sync
This commit is contained in:
parent
9f8c9a1636
commit
9e2ff58bc7
1 changed files with 2 additions and 0 deletions
|
@ -1575,7 +1575,9 @@ class LibrarySync(Thread):
|
|||
delete_playlists()
|
||||
delete_nodes()
|
||||
log.info("Initial start-up full sync starting")
|
||||
xbmc.executebuiltin('InhibitIdleShutdown(true)')
|
||||
librarySync = fullSync()
|
||||
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
||||
window('plex_dbScan', clear=True)
|
||||
state.DB_SCAN = False
|
||||
if librarySync:
|
||||
|
|
Loading…
Reference in a new issue