From 436de426047b9d33c5d90a4afa0646f6f9d2dedd Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 28 Jan 2023 21:07:08 -0500 Subject: [PATCH] [42] fix year filter --- VERSION | 2 +- modules/plex.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 8a932adb..3cc458e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop41 +1.18.3-develop42 diff --git a/modules/plex.py b/modules/plex.py index 35c9dd12..f01b5126 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -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