Force a full sync when items added (for now)

This commit is contained in:
xnappo 2015-05-12 07:14:38 -05:00
parent de527327a5
commit e44d2a4b3d

View file

@ -163,6 +163,10 @@ class WebSocketThread(threading.Thread):
self.logMsg("Message : WebSocket LibraryChanged : Items Updated : " + str(itemsUpdated), 0) self.logMsg("Message : WebSocket LibraryChanged : Items Updated : " + str(itemsUpdated), 0)
self.logMsg("Message : WebSocket LibraryChanged : Items Removed : " + str(itemsRemoved), 0) self.logMsg("Message : WebSocket LibraryChanged : Items Removed : " + str(itemsRemoved), 0)
if itemsAdded:
self.logMsg("Message : Doing Full LibrarySync")
LibrarySync().FullLibrarySync()
else:
self.remove_items(itemsRemoved) self.remove_items(itemsRemoved)
self.update_items(itemsToUpdate) self.update_items(itemsToUpdate)