mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Prevent sleep
Remove flag if initial sync terminates prematurely
This commit is contained in:
parent
6100faadda
commit
20ca36d95a
1 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ class LibrarySync(threading.Thread):
|
|||
startTime = datetime.now()
|
||||
completed = process[itemtype](embycursor, kodicursor, pDialog)
|
||||
if not completed:
|
||||
|
||||
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
||||
window('emby_dbScan', clear=True)
|
||||
if pDialog:
|
||||
pDialog.close()
|
||||
|
@ -306,7 +306,7 @@ class LibrarySync(threading.Thread):
|
|||
startTime = datetime.now()
|
||||
completed = self.music(embycursor, musiccursor, pDialog)
|
||||
if not completed:
|
||||
|
||||
xbmc.executebuiltin('InhibitIdleShutdown(false)')
|
||||
window('emby_dbScan', clear=True)
|
||||
if pDialog:
|
||||
pDialog.close()
|
||||
|
|
Loading…
Reference in a new issue