mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
Merge pull request #3200 from cddjr/fix_subscribe_search_filter
This commit is contained in:
+6
-5
@@ -221,6 +221,12 @@ class SearchChain(ChainBase):
|
|||||||
key=ProgressKey.Search)
|
key=ProgressKey.Search)
|
||||||
if not torrent.title:
|
if not torrent.title:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# 匹配订阅附加参数
|
||||||
|
if filter_params and not self.torrenthelper.filter_torrent(torrent_info=torrent,
|
||||||
|
filter_params=filter_params):
|
||||||
|
continue
|
||||||
|
|
||||||
# 识别元数据
|
# 识别元数据
|
||||||
torrent_meta = MetaInfo(title=torrent.title, subtitle=torrent.description,
|
torrent_meta = MetaInfo(title=torrent.title, subtitle=torrent.description,
|
||||||
custom_words=custom_words)
|
custom_words=custom_words)
|
||||||
@@ -234,11 +240,6 @@ class SearchChain(ChainBase):
|
|||||||
_match_torrents.append((torrent, torrent_meta))
|
_match_torrents.append((torrent, torrent_meta))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# 匹配订阅附加参数
|
|
||||||
if filter_params and not self.torrenthelper.filter_torrent(torrent_info=torrent,
|
|
||||||
filter_params=filter_params):
|
|
||||||
continue
|
|
||||||
|
|
||||||
# 比对种子
|
# 比对种子
|
||||||
if self.torrenthelper.match_torrent(mediainfo=mediainfo,
|
if self.torrenthelper.match_torrent(mediainfo=mediainfo,
|
||||||
torrent_meta=torrent_meta,
|
torrent_meta=torrent_meta,
|
||||||
|
|||||||
Reference in New Issue
Block a user