mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-02 23:48:48 +00:00
Fix progress display
This commit is contained in:
parent
83e5473e8b
commit
db7de1e333
2 changed files with 10 additions and 7 deletions
|
@ -119,7 +119,6 @@ class Items(object):
|
|||
|
||||
process = self._get_func(item_type, action)
|
||||
self.total = total or len(items)
|
||||
self.count = 0
|
||||
|
||||
for item in items:
|
||||
|
||||
|
@ -147,7 +146,6 @@ class Items(object):
|
|||
# Generator for newly added content
|
||||
if update:
|
||||
self.total = total or len(items)
|
||||
self.count = 0
|
||||
|
||||
for item in items:
|
||||
|
||||
|
@ -156,8 +154,8 @@ class Items(object):
|
|||
|
||||
self.title = item.get('Name', "unknown")
|
||||
|
||||
yield item
|
||||
self.update_pdialog()
|
||||
yield item
|
||||
|
||||
if update:
|
||||
self.count += 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue