mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-02 07:28:47 +00:00
Generators
This commit is contained in:
parent
7af2df5ade
commit
4cd270a9d2
3 changed files with 216 additions and 13 deletions
|
@ -63,6 +63,8 @@ class TVShows(Items):
|
|||
|
||||
def compare_all(self):
|
||||
# Pull the list of movies and boxsets in Kodi
|
||||
import emby as mb
|
||||
|
||||
pdialog = self.pdialog
|
||||
views = self.emby_db.getView_byType('tvshows')
|
||||
views += self.emby_db.getView_byType('mixed')
|
||||
|
@ -116,7 +118,7 @@ class TVShows(Items):
|
|||
updatelist.append(itemid)
|
||||
|
||||
log.info("TVShows to update for %s: %s", viewName, updatelist)
|
||||
embytvshows = self.emby.getFullItems(updatelist)
|
||||
embytvshows = (items['Items'] for items in mb.get_item_list(updatelist, True))
|
||||
self.total = len(updatelist)
|
||||
del updatelist[:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue