Commit Graph

49 Commits

Author SHA1 Message Date
景大侠
16bd71a6cb 优化整理代码效率、减少额外递归 2026-01-20 14:38:41 +08:00
Pollo
41381a920c fix: 修复订阅自定义识别词在整理时不生效的问题
问题:订阅中添加的自定义识别词(特别是集数偏移)在下载时正常生效,
但在下载完成整理时没有生效。

根因:下载历史中未保存识别词,整理时 MetaInfoPath 未接收
custom_words 参数。

修复:
- 在 DownloadHistory 模型中添加 custom_words 字段
- 下载时从 meta.apply_words 获取并保存识别词到下载历史
- MetaInfoPath 函数添加 custom_words 参数支持
- 整理时从下载历史获取 custom_words 并传递给 MetaInfoPath
- 添加 Alembic 迁移脚本 (2.2.3)
- 添加相关单元测试
2026-01-19 15:46:00 +08:00
大虾
2211f8d9e4 Update tests/test_bluray.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-12 23:17:39 +08:00
景大侠
4af5dad9a8 修复 原盘自动刮削缺少nfo 2026-01-12 21:36:17 +08:00
景大侠
66959937ed 修复 电影文件可能会误识别成电视剧类型 2026-01-03 18:06:26 +08:00
noone
af83681f6a feat(telegram): 新增单元测试覆盖各种消息发送场景 2025-11-25 17:02:31 +08:00
Attente
c572a1b607 fix(tests): 修正 restype, 测试用例不使用识别词 2025-11-12 14:13:05 +08:00
wumode
9d182e53b2 fix: type hints 2025-11-05 15:41:31 +08:00
wumode
ff2826a448 feat(utils): Refactor check_method to use ast
- 使用 AST 解析函数源码,相比基于字符串的方法更稳定,能够正确处理具有多行 def 语句的函数
- 为 check_method 添加了单元测试
2025-11-05 14:16:37 +08:00
jxxghp
62e74f6fd1 fix 2025-06-24 08:19:10 +08:00
Miralia
a1d6e94e90 feat(meta): 新增 WEB 平台来源识别并支持更多音视频格式。 2025-06-23 20:36:58 +08:00
景大侠
fc1ade32d7 更新蓝光测试用例 2025-05-31 11:05:02 +08:00
景大侠
b74c7531d9 fix #4371 递归判断蓝光目录 2025-05-31 02:37:14 +08:00
景大侠
7e3be3325a fix #4294 更新测试用例 2025-05-31 01:52:31 +08:00
jxxghp
beebfb2e19 fix 2025-05-21 08:39:04 +08:00
jxxghp
923ecf29b8 fix #4294 2025-05-18 13:16:06 +08:00
jxxghp
a8f8bf5872 增强MetaBase类以支持tmdbid和doubanid的赋值,并为Emby格式ID识别添加测试用例。 2025-05-18 13:03:35 +08:00
Dee Luo
b36ceda585 fix: Rename groups to groups.py 2025-04-11 11:22:29 +08:00
Dee Luo
27a3e6c6db feat: 增加制作组的单元测试 2025-04-11 11:21:39 +08:00
Dee Luo
a731327c00 feat: 增加制作组的单元测试cases 2025-04-11 11:20:36 +08:00
jxxghp
5bc8709605 fix 全x集未识别集数问题 2025-01-21 08:16:20 +08:00
jxxghp
6880b42a84 fix #3161 2024-11-19 20:38:06 +08:00
jxxghp
4e22293cda fix 文件多层路径识别 2024-04-12 12:04:42 +08:00
jxxghp
9ebb211589 fix meta cases 2024-04-10 12:22:32 +08:00
jxxghp
765d37fd6a fix meta 2024-04-10 11:44:14 +08:00
jxxghp
aa9a2c46aa merge cookiecloud chain 2024-02-13 10:36:05 +08:00
jxxghp
7faaaf3dcd fix bug 2023-11-11 14:14:09 +08:00
jxxghp
05f1a24199 feat 支持豆瓣做为识别源 2023-11-09 17:32:26 +08:00
jxxghp
d76fe5c039 fix tmdbapis 2023-07-29 13:09:36 +08:00
jxxghp
e6bacf3b7b feat 过滤规则存数据库 2023-07-19 11:35:18 +08:00
jxxghp
5690ee9bd6 fix schemas 2023-07-08 23:30:55 +08:00
jxxghp
acdec220f7 fix api 2023-06-17 17:34:18 +08:00
jxxghp
1f832633ea meta property 2023-06-14 07:15:39 +08:00
jxxghp
a111c1dea9 add 站点图标缓存 2023-06-12 11:16:37 +08:00
jxxghp
2d829208e4 fix 订阅总集数、开始集数问题 2023-06-11 17:28:20 +08:00
jxxghp
99bd8aade3 fix bugs 2023-06-10 19:22:40 +08:00
jxxghp
e0730960d3 fix modules 2023-06-10 09:51:20 +08:00
jxxghp
51da075a65 fix chain depends 2023-06-09 23:44:55 +08:00
jxxghp
6925dde254 fix 2023-06-09 19:25:12 +08:00
jxxghp
dd38428f03 add module function alias 2023-06-09 14:36:54 +08:00
jxxghp
8dd11bb53d fix file transfer 2023-06-09 12:19:11 +08:00
jxxghp
a4a391f238 fix bug 2023-06-08 18:47:04 +08:00
jxxghp
0d0b078a31 fix plugins 2023-06-08 15:47:14 +08:00
jxxghp
4a04f4d7cb fix tests 2023-06-07 23:09:36 +08:00
jxxghp
506fd7427f 更新 test_recognize.py 2023-06-07 22:12:46 +08:00
jxxghp
5eee0f0221 fix media exists bug 2023-06-07 22:05:03 +08:00
jxxghp
ab86eaf59a fix bugs 2023-06-07 21:16:33 +08:00
jxxghp
061c16c659 fix bugs 2023-06-07 20:03:53 +08:00
jxxghp
4d06f86e62 init 2023-06-06 07:15:17 +08:00