mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[11] fix smart_label counts
This commit is contained in:
parent
2b90478ea7
commit
469bde8b8c
2 changed files with 3 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.0-develop10
|
||||
1.18.0-develop11
|
||||
|
|
|
@ -817,6 +817,8 @@ class CollectionBuilder:
|
|||
if self.sync or self.playlist:
|
||||
self.remove_item_map = {i.ratingKey: i for i in self.library.get_collection_items(self.obj, self.smart_label_collection)}
|
||||
self.beginning_count = len(self.remove_item_map) if self.playlist else self.obj.childCount
|
||||
elif self.smart_label_collection:
|
||||
self.beginning_count = len(self.library.search(label=self.name))
|
||||
else:
|
||||
self.obj = None
|
||||
self.sync = False
|
||||
|
|
Loading…
Reference in a new issue