[85] year filter fix

This commit is contained in:
meisnate12 2022-02-27 15:02:19 -05:00
parent a18be7a305
commit 46c12b334a
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.15.1-develop84
1.15.1-develop85

View file

@ -2038,7 +2038,7 @@ class CollectionBuilder:
if filter_attr == "subtitle_language":
attrs.extend([s.language for s in part.subtitleStreams()])
elif filter_attr in ["content_rating", "year", "rating"]:
attrs = [str(getattr(item, filter_actual))]
attrs = [getattr(item, filter_actual)]
elif filter_attr in ["actor", "country", "director", "genre", "label", "producer", "writer", "collection"]:
attrs = [attr.tag for attr in getattr(item, filter_actual)]
else: