Merge pull request #1272 from croneter/fix-sets
Fix missing Kodi tags for movie collections/sets
This commit is contained in:
commit
83bb5a54c1
1 changed files with 2 additions and 1 deletions
|
@ -194,9 +194,10 @@ class Movie(ItemBase):
|
|||
return True
|
||||
|
||||
def _process_collections(self, api, tags, kodi_id, section_id, children):
|
||||
for _, set_name in api.collections():
|
||||
tags.append(set_name)
|
||||
for plex_set_id, set_name in api.collections():
|
||||
set_api = None
|
||||
tags.append(set_name)
|
||||
# Add any sets from Plex collection tags
|
||||
kodi_set_id = self.kodidb.create_collection(set_name)
|
||||
self.kodidb.assign_collection(kodi_set_id, kodi_id)
|
||||
|
|
Loading…
Reference in a new issue