mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
try this
This commit is contained in:
parent
9dd7c7910d
commit
d4e6b1ae2d
1 changed files with 4 additions and 2 deletions
|
@ -1076,9 +1076,11 @@ class CollectionBuilder:
|
|||
if (modifier == ".not" and item.original_language in filter_data) \
|
||||
or (modifier == "" and item.original_language not in filter_data):
|
||||
return False
|
||||
elif filter_attr in ["last_episode_aired"]:
|
||||
elif filter_attr in ["first_episode_aired", "last_episode_aired"]:
|
||||
tmdb_date = None
|
||||
if filter_attr == "last_episode_aired":
|
||||
if filter_attr == "first_episode_aired":
|
||||
tmdb_date = item.first_air_date
|
||||
elif filter_attr == "last_episode_aired":
|
||||
tmdb_date = item.last_air_date
|
||||
if not util.date_filter(tmdb_date, modifier, filter_data, filter_final, self.current_time):
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue