[30] #898 Fix blank collecitons hiding

pull/968/head
meisnate12 2 years ago
parent b6373d900d
commit 55054d9e45

@ -1 +1 @@
1.17.1-develop29
1.17.1-develop30

@ -2488,8 +2488,10 @@ class CollectionBuilder:
advance_update = False
if "collection_mode" in self.details:
if int(self.obj.collectionMode) not in plex.collection_mode_keys \
if (self.blank_collection and self.created) or int(self.obj.collectionMode) not in plex.collection_mode_keys \
or plex.collection_mode_keys[int(self.obj.collectionMode)] != self.details["collection_mode"]:
if self.blank_collection and self.created:
self.library.collection_mode_query(self.obj, "default")
self.library.collection_mode_query(self.obj, self.details["collection_mode"])
logger.info(f"Collection Mode | {self.details['collection_mode']}")
advance_update = True

Loading…
Cancel
Save