feat 中文字幕过滤规则只针对原语种为非中文

This commit is contained in:
jxxghp
2023-09-19 12:42:10 +08:00
parent 19eca11d17
commit 8be6e28933
5 changed files with 71 additions and 10 deletions

View File

@ -512,7 +512,8 @@ class SubscribeChain(ChainBase):
filter_rule = self.systemconfig.get(SystemConfigKey.FilterRules)
result: List[TorrentInfo] = self.filter_torrents(
rule_string=filter_rule,
torrent_list=[torrent_info])
torrent_list=[torrent_info],
mediainfo=torrent_mediainfo)
if result is not None and not result:
# 不符合过滤规则
logger.info(f"{torrent_info.title} 不匹配当前过滤规则")