[42] fix year filter

pull/1294/head
meisnate12 2 years ago
parent 2dde7cfb05
commit 436de42604

@ -1 +1 @@
1.18.3-develop41
1.18.3-develop42

@ -1543,7 +1543,7 @@ class Plex(Library):
failures += 1
if failures > failure_threshold:
return False
elif filter_attr in builder.number_filters or modifier in [".gt", ".gte", ".lt", ".lte", ".count_gt", ".count_gte", ".count_lt", ".count_lte"]:
elif (filter_attr != "year" and filter_attr in builder.number_filters) or modifier in [".gt", ".gte", ".lt", ".lte", ".count_gt", ".count_gte", ".count_lt", ".count_lte"]:
test_number = []
if filter_attr in ["channels", "height", "width", "aspect"]:
test_number = 0

Loading…
Cancel
Save