mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[30] #898 Fix blank collecitons hiding
This commit is contained in:
parent
b6373d900d
commit
55054d9e45
2 changed files with 4 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -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…
Reference in a new issue