mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-29 16:00:23 +00:00
[85] year filter fix
This commit is contained in:
parent
a18be7a305
commit
46c12b334a
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.15.1-develop84
|
1.15.1-develop85
|
||||||
|
|
|
@ -2038,7 +2038,7 @@ class CollectionBuilder:
|
||||||
if filter_attr == "subtitle_language":
|
if filter_attr == "subtitle_language":
|
||||||
attrs.extend([s.language for s in part.subtitleStreams()])
|
attrs.extend([s.language for s in part.subtitleStreams()])
|
||||||
elif filter_attr in ["content_rating", "year", "rating"]:
|
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"]:
|
elif filter_attr in ["actor", "country", "director", "genre", "label", "producer", "writer", "collection"]:
|
||||||
attrs = [attr.tag for attr in getattr(item, filter_actual)]
|
attrs = [attr.tag for attr in getattr(item, filter_actual)]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue