fix
This commit is contained in:
parent
a2d503b2f5
commit
eea5c056f3
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user