mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-14 18:20:27 +08:00
fix tmdb match api
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user