From d97a7fdb44f34d322b6067116655f7068159add7 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 9 Jan 2021 17:09:10 +0100 Subject: [PATCH] Fix missing Kodi tags for movie collections/sets --- resources/lib/itemtypes/movies.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/itemtypes/movies.py b/resources/lib/itemtypes/movies.py index e197d4c6..0d732b54 100644 --- a/resources/lib/itemtypes/movies.py +++ b/resources/lib/itemtypes/movies.py @@ -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)