Ignore playstate updates for full sync time stamps croneter committed
This commit is contained in:
parent
b86a6549ac
commit
889b6094d9
1 changed files with 3 additions and 2 deletions
|
@ -320,6 +320,9 @@ class FullSync(common.fullsync_mixin):
|
||||||
if self.isCanceled() or not self.addupdate_section(section):
|
if self.isCanceled() or not self.addupdate_section(section):
|
||||||
return False
|
return False
|
||||||
common.update_kodi_library(video=True, music=True)
|
common.update_kodi_library(video=True, music=True)
|
||||||
|
if self.successful:
|
||||||
|
# Set timestamp for next sync - neglecting playstates!
|
||||||
|
utils.settings('lastfullsync', value=str(int(self.current_sync)))
|
||||||
# SYNC PLAYSTATE of ALL items (otherwise we won't pick up on items that
|
# SYNC PLAYSTATE of ALL items (otherwise we won't pick up on items that
|
||||||
# were set to unwatched). Also mark all items on the PMS to be able
|
# were set to unwatched). Also mark all items on the PMS to be able
|
||||||
# to delete the ones still in Kodi
|
# to delete the ones still in Kodi
|
||||||
|
@ -407,8 +410,6 @@ class FullSync(common.fullsync_mixin):
|
||||||
self.dialog.close()
|
self.dialog.close()
|
||||||
if self.threader:
|
if self.threader:
|
||||||
self.threader.shutdown()
|
self.threader.shutdown()
|
||||||
if self.successful:
|
|
||||||
utils.settings('lastfullsync', value=str(int(self.current_sync)))
|
|
||||||
if self.callback:
|
if self.callback:
|
||||||
self.callback(self.successful)
|
self.callback(self.successful)
|
||||||
LOG.info('Done full_sync')
|
LOG.info('Done full_sync')
|
||||||
|
|
Loading…
Reference in a new issue