Update tmdb.py

pull/1390/head
tenshiak 2 years ago committed by GitHub
parent 507ad51469
commit 3edf67f30f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -440,6 +440,8 @@ class TMDb:
attr = None
if filter_attr == "tmdb_vote_count":
attr = item.vote_count
elif filter_attr == "tmdb_vote_average":
attr = item.vote_average
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):

Loading…
Cancel
Save