mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Fix compare_checksum returning bool
Instead return list so it doesn't break anything.
This commit is contained in:
parent
245b1ce9fa
commit
82302cfc4e
1 changed files with 4 additions and 1 deletions
|
@ -145,6 +145,9 @@ class Items(object):
|
||||||
update_list = self._compare_checksum(items, compare_to)
|
update_list = self._compare_checksum(items, compare_to)
|
||||||
log.info("Update for %s: %s", view_name, update_list)
|
log.info("Update for %s: %s", view_name, update_list)
|
||||||
|
|
||||||
|
if self.should_stop():
|
||||||
|
return False
|
||||||
|
|
||||||
emby_items = self.emby.getFullItems(update_list)
|
emby_items = self.emby.getFullItems(update_list)
|
||||||
total = len(update_list)
|
total = len(update_list)
|
||||||
|
|
||||||
|
@ -167,7 +170,7 @@ class Items(object):
|
||||||
for item in items:
|
for item in items:
|
||||||
|
|
||||||
if self.should_stop():
|
if self.should_stop():
|
||||||
return False
|
break
|
||||||
|
|
||||||
item_id = item['Id']
|
item_id = item['Id']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue