This commit is contained in:
jxxghp
2024-04-09 13:36:13 +08:00
parent ac87c778f4
commit 85300b0931

View File

@ -151,7 +151,7 @@ class SearchChain(ChainBase):
_count = 0 _count = 0
if mediainfo: if mediainfo:
# 英文标题应该在别名/原标题中,不需要再匹配 # 英文标题应该在别名/原标题中,不需要再匹配
logger.info(f"标题:{mediainfo.title},原标题:{mediainfo.original_title},别名:{mediainfo.names}") logger.info(f"开始匹配结果 标题:{mediainfo.title},原标题:{mediainfo.original_title},别名:{mediainfo.names}")
self.progress.update(value=0, text=f'开始匹配,总 {_total} 个资源 ...', key=ProgressKey.Search) self.progress.update(value=0, text=f'开始匹配,总 {_total} 个资源 ...', key=ProgressKey.Search)
for torrent in torrents: for torrent in torrents:
_count += 1 _count += 1
@ -235,7 +235,7 @@ class SearchChain(ChainBase):
_match_torrents.append(torrent) _match_torrents.append(torrent)
continue continue
# 未匹配 # 未匹配
logger.warn(f'{torrent.site_name} - {torrent.title} 标题不匹配') logger.warn(f'{torrent.site_name} - {torrent.title} 标题不匹配,识别名称:{media_names}')
# 匹配完成 # 匹配完成
logger.info(f"匹配完成,共匹配到 {len(_match_torrents)} 个资源") logger.info(f"匹配完成,共匹配到 {len(_match_torrents)} 个资源")
self.progress.update(value=97, self.progress.update(value=97,