mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 14:30:25 +00:00
[80] fix tmdb_year filter
This commit is contained in:
parent
883120acab
commit
a3dd3c09ee
2 changed files with 3 additions and 5 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.15.1-develop79
|
||||
1.15.1-develop80
|
||||
|
|
|
@ -1906,10 +1906,8 @@ class CollectionBuilder:
|
|||
attr = None
|
||||
if filter_attr == "tmdb_vote_count":
|
||||
attr = item.vote_count
|
||||
elif filter_attr == "tmdb_year" and is_movie:
|
||||
attr = item.year
|
||||
elif filter_attr == "tmdb_year" and not is_movie and item.first_air_date:
|
||||
attr = item.first_air_date.year
|
||||
elif filter_attr == "tmdb_year":
|
||||
attr = item.release_date.year if is_movie else item.first_air_date.year
|
||||
if util.is_number_filter(attr, modifier, filter_data):
|
||||
return False
|
||||
elif filter_attr == "tmdb_genre":
|
||||
|
|
Loading…
Reference in a new issue