mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Force a full sync when items added (for now)
This commit is contained in:
parent
de527327a5
commit
e44d2a4b3d
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue