Fix missing Kodi tags for movie collections/sets
This commit is contained in:
parent
c6291eaba6
commit
d97a7fdb44
1 changed files with 2 additions and 1 deletions
|
@ -194,9 +194,10 @@ class Movie(ItemBase):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _process_collections(self, api, tags, kodi_id, section_id, children):
|
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():
|
for plex_set_id, set_name in api.collections():
|
||||||
set_api = None
|
set_api = None
|
||||||
tags.append(set_name)
|
|
||||||
# Add any sets from Plex collection tags
|
# Add any sets from Plex collection tags
|
||||||
kodi_set_id = self.kodidb.create_collection(set_name)
|
kodi_set_id = self.kodidb.create_collection(set_name)
|
||||||
self.kodidb.assign_collection(kodi_set_id, kodi_id)
|
self.kodidb.assign_collection(kodi_set_id, kodi_id)
|
||||||
|
|
Loading…
Reference in a new issue