From 8cc44692829187f9ac0877c07b989306d28bc4ca Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 15 Sep 2023 10:59:46 +0800 Subject: [PATCH] fix #591 --- app/chain/subscribe.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/chain/subscribe.py b/app/chain/subscribe.py index c5bd35fa..cc196698 100644 --- a/app/chain/subscribe.py +++ b/app/chain/subscribe.py @@ -308,6 +308,11 @@ class SubscribeChain(ChainBase): if torrent_meta.episode_list: logger.info(f'{subscribe.name} 正在洗版,{torrent_info.title} 不是整季') continue + # 优先级小于已下载优先级的不要 + if subscribe.current_priority \ + and torrent_info.pri_order < subscribe.current_priority: + logger.info(f'{subscribe.name} 正在洗版,{torrent_info.title} 优先级低于已下载优先级') + continue matched_contexts.append(context) if not matched_contexts: logger.warn(f'订阅 {subscribe.name} 没有符合过滤条件的资源')