From cd209cd31b4d5a485718d17a0abb7db3befb939e Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 2 Feb 2022 10:37:16 -0500 Subject: [PATCH] duration fix --- VERSION | 2 +- modules/builder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 5f521073..9a298b78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.1-develop34 +1.15.1-develop35 diff --git a/modules/builder.py b/modules/builder.py index 68c0c304..fbff2e04 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1640,7 +1640,7 @@ class CollectionBuilder: or (attribute in plex.tag_attributes and modifier in [".count_gt", ".count_gte", ".count_lt", ".count_lte"]): return util.parse(self.Type, final, data, datatype="int") elif attribute in plex.float_attributes and modifier in [".gt", ".gte", ".lt", ".lte"]: - return util.parse(self.Type, final, data, datatype="float", minimum=0, maximum=10) + return util.parse(self.Type, final, data, datatype="float", minimum=0, maximum=None if attribute == "duration" else 10) elif attribute in plex.boolean_attributes + boolean_filters: return util.parse(self.Type, attribute, data, datatype="bool") else: