Fix missing Kodi tags for movie collections/sets

This commit is contained in:
croneter 2021-01-09 17:09:10 +01:00
parent c6291eaba6
commit d97a7fdb44

View file

@ -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)