fix tmdb match api

This commit is contained in:
jxxghp 2024-05-09 18:49:58 +08:00
parent 6c365f552e
commit dfb9ce7520

View File

@ -176,7 +176,7 @@ class TmdbApi:
return None
# TMDB搜索
info = {}
if mtype == MediaType.MOVIE:
if mtype != MediaType.TV:
year_range = [year]
if year:
year_range.append(str(int(year) + 1))