Fix update library

Only do the compare when user selects update library, also add a restart service option in the add-on settings > advanced
This commit is contained in:
angelblue05 2018-10-13 03:53:22 -05:00
parent 1174c685e9
commit 66822b6d0a
6 changed files with 28 additions and 11 deletions

View file

@ -341,7 +341,7 @@ class Service(xbmc.Monitor):
if not data.get('Id'):
return
self.library_thread.add_library(data['Id'])
self.library_thread.add_library(data['Id'], data.get('Update', False))
xbmc.executebuiltin("Container.Refresh")
elif method == 'RepairLibrary':