Process updates when nothing is playing

This commit is contained in:
angelblue05 2018-01-19 01:31:09 -06:00
parent a9e4cebed4
commit 68ad71de6f

View file

@ -744,7 +744,7 @@ class LibrarySync(threading.Thread):
self.incremental_count = 0
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()
if window('emby_onWake') == "true" and window('emby_online') == "true":