mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
fix 订阅匹配
This commit is contained in:
@@ -647,7 +647,6 @@ class SubscribeChain(ChainBase):
|
|||||||
if domains and domain not in domains:
|
if domains and domain not in domains:
|
||||||
continue
|
continue
|
||||||
logger.debug(f'开始匹配站点:{domain},共缓存了 {len(contexts)} 个种子...')
|
logger.debug(f'开始匹配站点:{domain},共缓存了 {len(contexts)} 个种子...')
|
||||||
try:
|
|
||||||
for context in contexts:
|
for context in contexts:
|
||||||
if global_vars.is_system_stopped:
|
if global_vars.is_system_stopped:
|
||||||
break
|
break
|
||||||
@@ -686,7 +685,8 @@ class SubscribeChain(ChainBase):
|
|||||||
_context.media_info = torrent_mediainfo
|
_context.media_info = torrent_mediainfo
|
||||||
|
|
||||||
# 如果仍然没有识别到媒体信息,尝试标题匹配
|
# 如果仍然没有识别到媒体信息,尝试标题匹配
|
||||||
if not torrent_mediainfo or (not torrent_mediainfo.tmdb_id and not torrent_mediainfo.douban_id):
|
if not torrent_mediainfo or (
|
||||||
|
not torrent_mediainfo.tmdb_id and not torrent_mediainfo.douban_id):
|
||||||
logger.info(
|
logger.info(
|
||||||
f'{torrent_info.site_name} - {torrent_info.title} 重新识别失败,尝试通过标题匹配...')
|
f'{torrent_info.site_name} - {torrent_info.title} 重新识别失败,尝试通过标题匹配...')
|
||||||
if torrenthelper.match_torrent(mediainfo=mediainfo,
|
if torrenthelper.match_torrent(mediainfo=mediainfo,
|
||||||
@@ -791,9 +791,6 @@ class SubscribeChain(ChainBase):
|
|||||||
if subscribe.episode_group:
|
if subscribe.episode_group:
|
||||||
torrent_mediainfo.episode_group = subscribe.episode_group
|
torrent_mediainfo.episode_group = subscribe.episode_group
|
||||||
_match_context.append(_context)
|
_match_context.append(_context)
|
||||||
finally:
|
|
||||||
contexts.clear()
|
|
||||||
del contexts
|
|
||||||
|
|
||||||
if not _match_context:
|
if not _match_context:
|
||||||
# 未匹配到资源
|
# 未匹配到资源
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
APP_VERSION = 'v2.5.9-2'
|
APP_VERSION = 'v2.5.9-3'
|
||||||
FRONTEND_VERSION = 'v2.5.9-1'
|
FRONTEND_VERSION = 'v2.5.9-1'
|
||||||
|
|||||||
Reference in New Issue
Block a user