fix tmdb match api
This commit is contained in:
parent
6c365f552e
commit
dfb9ce7520
@ -176,7 +176,7 @@ class TmdbApi:
|
|||||||
return None
|
return None
|
||||||
# TMDB搜索
|
# TMDB搜索
|
||||||
info = {}
|
info = {}
|
||||||
if mtype == MediaType.MOVIE:
|
if mtype != MediaType.TV:
|
||||||
year_range = [year]
|
year_range = [year]
|
||||||
if year:
|
if year:
|
||||||
year_range.append(str(int(year) + 1))
|
year_range.append(str(int(year) + 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user