fix tmdb match api
This commit is contained in:
parent
6c365f552e
commit
dfb9ce7520
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user