diff --git a/VERSION b/VERSION index a49fbd84..0be4c4ad 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.5-develop45 +1.16.5-develop46 diff --git a/modules/builder.py b/modules/builder.py index 2a20b3cb..66379ac0 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1946,13 +1946,15 @@ class CollectionBuilder: for filter_method, filter_data in data.items(): filter_attr, filter_modifier, filter_final = self.library.split(filter_method) message = None + if filter_final == "percentage": + continue if filter_final not in all_filters: message = f"{self.Type} Error: {filter_final} is not a valid filter attribute" elif filter_attr not in filters[attribute[:-1]] or filter_attr in ["seasons", "episodes", "albums", "tracks"]: message = f"{self.Type} Error: {filter_final} is not a valid {attribute[:-1]} filter attribute" elif filter_final is None: message = f"{self.Type} Error: {filter_final} filter attribute is blank" - elif filter_final != "percentage": + else: final_filters[filter_final] = self.validate_attribute(filter_attr, filter_modifier, f"{attribute} {filter_final} filter", filter_data, validate) if message: if validate: