Rename safety margin for background sync

This commit is contained in:
tomkat83 2017-02-02 12:35:08 +01:00
parent 01426de7ca
commit 34c9cc35a5
2 changed files with 2 additions and 2 deletions

View file

@ -327,7 +327,7 @@ class LibrarySync(Thread):
if settings('FanartTV') == 'true':
self.fanartthread = ProcessFanartThread(self.fanartqueue)
# How long should we wait at least to process new/changed PMS items?
self.saftyMargin = int(settings('saftyMargin'))
self.saftyMargin = int(settings('backgroundsync_saftyMargin'))
self.fullSyncInterval = int(settings('fullSyncInterval')) * 60

View file

@ -55,7 +55,7 @@
<setting id="limitindex" type="number" label="30515" default="200" option="int" /><!-- Maximum items to request from the server at once -->
<setting type="lsep" label="39052" /><!-- Background Sync -->
<setting id="enableBackgroundSync" type="bool" label="39026" default="true" visible="true"/>
<setting id="saftyMargin" type="slider" label="39051" default="10" option="int" range="10,1,300" visible="eq(-1,true)" subsetting="true" />
<setting id="backgroundsync_saftyMargin" type="slider" label="39051" default="10" option="int" range="10,1,300" visible="eq(-1,true)" subsetting="true" />
<setting id="fullSyncInterval" type="number" label="39053" default="60" option="int" />
<setting id="dbSyncScreensaver" type="bool" label="39062" default="false" /><!--Sync when screensaver is deactivated-->