mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-13 21:56:11 +00:00
Fix boxsets added
This commit is contained in:
parent
c02bea8761
commit
70fba1a2c3
2 changed files with 2 additions and 4 deletions
|
@ -630,9 +630,7 @@ class LibrarySync(threading.Thread):
|
||||||
pdialog.update(heading=lang(29999), message=lang(33018))
|
pdialog.update(heading=lang(29999), message=lang(33018))
|
||||||
|
|
||||||
boxsets = self.emby.getBoxset(dialog=pdialog)
|
boxsets = self.emby.getBoxset(dialog=pdialog)
|
||||||
total = boxsets['TotalRecordCount']
|
movies.add_all("BoxSet", boxsets)
|
||||||
|
|
||||||
movies.process_all("BoxSet", "added", boxsets['Items'], total)
|
|
||||||
log.debug("Boxsets finished.")
|
log.debug("Boxsets finished.")
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -44,7 +44,7 @@ class Movies(Items):
|
||||||
}
|
}
|
||||||
elif item_type == "BoxSet":
|
elif item_type == "BoxSet":
|
||||||
actions = {
|
actions = {
|
||||||
'added': self.add_updateBoxset,
|
'added': self.added_boxset,
|
||||||
'update': self.add_updateBoxset,
|
'update': self.add_updateBoxset,
|
||||||
'remove': self.remove
|
'remove': self.remove
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue