Fix boxsets added

This commit is contained in:
angelblue05 2016-10-27 01:49:33 -05:00
parent c02bea8761
commit 70fba1a2c3
2 changed files with 2 additions and 4 deletions

View file

@ -630,9 +630,7 @@ class LibrarySync(threading.Thread):
pdialog.update(heading=lang(29999), message=lang(33018))
boxsets = self.emby.getBoxset(dialog=pdialog)
total = boxsets['TotalRecordCount']
movies.process_all("BoxSet", "added", boxsets['Items'], total)
movies.add_all("BoxSet", boxsets)
log.debug("Boxsets finished.")
return True

View file

@ -44,7 +44,7 @@ class Movies(Items):
}
elif item_type == "BoxSet":
actions = {
'added': self.add_updateBoxset,
'added': self.added_boxset,
'update': self.add_updateBoxset,
'remove': self.remove
}