Prep parentid change

Few other things
This commit is contained in:
angelblue05 2018-09-12 19:43:51 -05:00
parent 0478894676
commit 2deb31b294
8 changed files with 51 additions and 26 deletions

View file

@ -263,12 +263,14 @@ class Service(xbmc.Monitor):
if data.get('ServerId'):
return
LOG.info("[ UserDataChanged ] %s", data)
self.library_thread.userdata(data['UserDataList'])
elif method == 'LibraryChanged' and self.library_thread:
if data.get('ServerId'):
return
LOG.info("[ LibraryChanged ] %s", data)
self.library_thread.updated(data['ItemsUpdated'] + data['ItemsAdded'])
self.library_thread.removed(data['ItemsRemoved'])