mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-05 22:53:17 +00:00
Update music compare
This commit is contained in:
parent
4958d106ec
commit
1af2d29fc1
6 changed files with 82 additions and 105 deletions
|
|
@ -149,7 +149,7 @@ class Items(object):
|
|||
|
||||
# Process additions and updates
|
||||
if emby_items:
|
||||
self.added(emby_items, total, view)
|
||||
self.process_all(item_type, "update", emby_items, total, view)
|
||||
# Process deletes
|
||||
if compare_to:
|
||||
self.remove_all(item_type, compare_to.items())
|
||||
|
|
@ -168,7 +168,7 @@ class Items(object):
|
|||
item_id = item['Id']
|
||||
|
||||
if compare_to.get(item_id) != api.API(item).get_checksum():
|
||||
# Only update if movie is not in Kodi or checksum is different
|
||||
# Only update if item is not in Kodi or checksum is different
|
||||
update_list.append(item_id)
|
||||
|
||||
compare_to.pop(item_id, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue