parent
f9121d281c
commit
0486934d81
1 changed files with 3 additions and 0 deletions
|
@ -1585,6 +1585,9 @@ class LibrarySync(Thread):
|
||||||
state.DB_SCAN = True
|
state.DB_SCAN = True
|
||||||
window('plex_dbScan', value="true")
|
window('plex_dbScan', value="true")
|
||||||
LOG.info('Doing initial sync on Kodi startup')
|
LOG.info('Doing initial sync on Kodi startup')
|
||||||
|
if state.SUSPEND_SYNC:
|
||||||
|
LOG.warning('Forcing startup sync even if Kodi is playing')
|
||||||
|
state.SUSPEND_SYNC = False
|
||||||
if self.full_sync():
|
if self.full_sync():
|
||||||
initial_sync_done = True
|
initial_sync_done = True
|
||||||
last_sync = utils.unix_timestamp()
|
last_sync = utils.unix_timestamp()
|
||||||
|
|
Loading…
Reference in a new issue