jxxghp
2d412cae1c
style: improve log formatting for torrent publish time checks in FilterModule
2026-04-30 16:28:28 +08:00
jxxghp
28a2386f2f
feat: add agent tools for querying and managing filter rules and rule groups
...
- Add tools for querying built-in and custom filter rules, and for adding, updating, and deleting custom rules and rule groups
- Refactor filter module to use shared builtin rule definitions
- Enhance rule group querying to include syntax guidance and usage references
- Add unittests for agent filter rule tools registration and parsing logic
2026-04-30 12:56:38 +08:00
jxxghp
6065c29891
Revert "Merge pull request #5573 from wikrin/refactor-static-methods-conversion"
...
This reverts commit b8fc20b981 , reversing
changes made to e09cfc6704 .
2026-03-14 18:21:31 +08:00
Attente
b89825525a
refactor(helper): 将DirectoryHelper、RuleHelper和TorrentHelper方法改为静态方法
...
- 移除不必要的实例化操作,直接使用类方法
2026-03-13 19:50:10 +08:00
Attente
8658942385
feat(filter): 添加配置监听和改进中字过滤规则
2026-01-25 01:06:50 +08:00
jxxghp
d523c7c916
fix pydantic
2025-11-01 09:51:23 +08:00
Attente
0f0c3e660b
style: 清理空白字符
...
移除代码中的 trailing whitespace 和空行缩进, 提升代码整洁度
2025-06-29 22:49:58 +08:00
jxxghp
7c76c3ccd6
rollback #4296
2025-05-18 21:40:06 +08:00
Pollo
b97dbd2515
fix: 优化 Blu-ray 匹配规则
2025-05-17 17:56:05 +08:00
jxxghp
71c29ea5e7
fix ide warnings
2025-03-09 18:35:52 +08:00
Ray
79d70c9977
fix: 标签为"官组"的种子应识别为官种
2025-03-05 22:10:28 +08:00
Attente
5b66803f6d
fix: 修复订阅识别词在下载阶段不生效的问题
...
- 将`季集匹配`从`优先级规则组匹配模块`移至`种子帮助类`
- - `FilterModule.__match_season_episodes()` ==> `TorrentHelper.match_season_episodes()`
- - 确保需要`订阅识别词` `偏移季集`的种子能够正确匹配
2025-01-15 03:43:50 +08:00
Attente
73e4596d1a
feat(filter): add publish time filter for torrents
...
- 在 `TorrentInfo` 类中添加 `pub_minutes` 方法以计算自发布以来的`分钟`数
- 在 FilterModule 中实现发布时间过滤
- 支持发布时间的单值和范围比较
2024-12-10 23:36:54 +08:00
Aqr-K
825fc35134
feat(modules): 增加子级 type 分类。
...
- 在 `types` 里,针对各个模块的类型进行子级分类。
- 为每个模块统一添加 `get_subtype` 方法,这样一来,能更精准快速地区分与调用子类的每个模块,又能获取 ModuleType 所规定的分类以及对应存在的子模块类型支持列表,从而有效解决当下调用时需繁琐遍历每个 module 以获取 get_name 或 _channel 的问题。
- 解决因消息渠道前端返回所保存的 type 与后端规定值不一致,而需要频繁调用 _channel 私有方法才能获取分类所可能产生的问题。
2024-12-03 14:57:19 +08:00
jxxghp
9b2fccee01
feat:剧集文件大小过滤按平均每集大小
2024-11-09 18:01:50 +08:00
jxxghp
76d939b665
更新 __init__.py
2024-10-30 07:16:44 +08:00
jxxghp
bbac709970
更新 __init__.py
2024-10-26 14:17:26 +08:00
thsrite
e58911397a
fix dc3240e9
2024-10-25 19:06:32 +08:00
thsrite
dc3240e90a
fix 种子过滤包含规则
2024-10-25 16:05:54 +08:00
thsrite
72b955ebae
fix
2024-10-22 16:53:17 +08:00
thsrite
be09d5e65d
fix 修复自定义规则包含、过滤
2024-10-22 16:47:31 +08:00
jxxghp
363f12ed5a
refactor:Module加入执行优先顺序
2024-10-19 19:31:25 +08:00
jxxghp
603ab97665
add ModuleType Schema
2024-10-12 11:50:00 +08:00
jxxghp
1cef5e43e3
fix rule load
2024-09-26 12:36:56 +08:00
jxxghp
5b1d111a97
更新 __init__.py
2024-09-25 22:35:18 +08:00
jxxghp
e1b557f681
更新 __init__.py
2024-09-25 22:25:27 +08:00
jxxghp
88394005e5
fix log
2024-09-24 13:11:21 +08:00
jxxghp
959dc0f14b
add filter log
2024-09-24 13:08:18 +08:00
jxxghp
f3b2bbfb6f
fix rule group filter
2024-09-19 13:36:07 +08:00
jxxghp
f6c84a744c
feat:国语配音适配大陆剧
2024-09-14 12:33:05 +08:00
jxxghp
9a62feb9a9
feat:规则组适用媒体类别
2024-09-12 12:42:41 +08:00
jxxghp
26abccabf3
feat:规则组适用媒体类别
2024-09-12 12:36:58 +08:00
jxxghp
604c418bd4
fix filter rules
2024-07-04 21:25:50 +08:00
jxxghp
dd40ef54c0
fix #1838
2024-05-28 08:16:51 +08:00
jxxghp
be11ef72a9
调整INFO日志打印量 && 回滚多线程过滤
2024-05-24 10:48:56 +08:00
jxxghp
6ee6de48ff
尝试修复过滤器并发报错
2024-05-24 08:56:32 +08:00
jxxghp
d1678355f1
fix #2099
2024-05-23 12:45:27 +08:00
jxxghp
18d08c3672
fix
2024-05-19 12:35:21 +08:00
jxxghp
43647e59a4
fix module name
2024-05-16 14:20:18 +08:00
jxxghp
f17890b6ce
fix 词表指定媒体ID的匹配
2024-04-12 08:24:20 +08:00
jxxghp
49a82d7a48
feat:新增官种优先级规则
...
fix #1635
feat:动漫支持二级目录 fix #1633
2024-03-09 09:53:15 +08:00
HankunYu
4a57071809
Update 中字过滤规则
...
添加匹配小写
2024-03-07 02:48:29 +00:00
HankunYu
4631db9a45
Update 中字过滤规则
...
去除重复 简体, 严格CHT以及CHS匹配规则
2024-03-07 02:43:59 +00:00
HankunYu
c450dfc0fa
Update 中文字幕过滤
...
添加对于动画番剧中文字幕识别的支持
2024-03-06 14:09:19 +00:00
jxxghp
8cb061ff75
feat:模块健康检查
2024-03-06 13:23:51 +08:00
jxxghp
f6dfe9cb88
fix rules
2023-10-13 11:41:12 +08:00
jxxghp
a902b79684
fix #800
2023-10-12 17:07:26 +08:00
jxxghp
af2f52a050
fix 优先级规则支持杜比全景声
2023-10-12 09:46:48 +08:00
mayun110
3692cfea64
fix 无法匹配国语标签的bug
2023-09-27 15:38:35 +08:00
jxxghp
600e32d3e4
更新 __init__.py
2023-09-19 23:29:35 +08:00