This commit is contained in:
Ma 2023-11-01 07:34:48 +08:00 committed by GitHub
parent a2d503b2f5
commit eea5c056f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,8 +123,8 @@ class ChainBase(metaclass=ABCMeta):
if not tmdbid and hasattr(meta, "tmdbid"): if not tmdbid and hasattr(meta, "tmdbid"):
# 识别用名中含指定信息情形 # 识别用名中含指定信息情形
tmdbid = meta.tmdbid tmdbid = meta.tmdbid
if meta.mtype: if meta.type in [MediaType.TV, MediaType.MOVIE]:
mtype = meta.mtype mtype = meta.type
return self.run_module("recognize_media", meta=meta, mtype=mtype, tmdbid=tmdbid) return self.run_module("recognize_media", meta=meta, mtype=mtype, tmdbid=tmdbid)
def match_doubaninfo(self, name: str, imdbid: str = None, def match_doubaninfo(self, name: str, imdbid: str = None,