Remember sync position for manual triggers

Allow to resume sync on restart for manual user triggers (update, repair). Automatically refresh boxsets if movie library is selected.

use waitForAbort and emby_should_stop prop to terminate threads
This commit is contained in:
angelblue05 2018-09-22 02:52:14 -05:00
parent 00ee891952
commit 11f771ade2
9 changed files with 54 additions and 28 deletions

View file

@ -160,7 +160,7 @@ def should_stop():
''' Checkpoint during the sync process.
'''
if xbmc.Monitor().abortRequested():
if xbmc.Monitor().waitForAbort(0.00001):
return True
if window('emby_should_stop.bool'):