mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 12:33:10 +00:00
duration fix
This commit is contained in:
parent
3d53500e0a
commit
cd209cd31b
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.15.1-develop34
|
||||
1.15.1-develop35
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue