Process updates when nothing is playing

This commit is contained in:
angelblue05 2018-01-19 01:31:09 -06:00
parent a9e4cebed4
commit 68ad71de6f
1 changed files with 1 additions and 1 deletions

View File

@ -744,7 +744,7 @@ class LibrarySync(threading.Thread):
self.incremental_count = 0 self.incremental_count = 0
window('emby_kodiScan', clear=True) window('emby_kodiScan', clear=True)
if window('emby_dbScan') != "true" and window('emby_shouldStop') != "true": if not xbmc.Player().isPlaying() and window('emby_dbScan') != "true" and window('emby_shouldStop') != "true":
self.incrementalSync() self.incrementalSync()
if window('emby_onWake') == "true" and window('emby_online') == "true": if window('emby_onWake') == "true" and window('emby_online') == "true":