jxxghp
|
1bb6e36e8c
|
refactor: complete runtime configuration migration
|
2026-08-22 19:07:07 +08:00 |
|
jxxghp
|
8472bcff43
|
refactor: 收口 V3 分层架构与插件兼容边界
|
2026-08-18 13:22:02 +08:00 |
|
jxxghp
|
7e851dbfa7
|
refactor(chain): 处理链功能域 mixin 化,清理未使用导入并根治兼容层循环导入
- ChainBase 拆分为 RecognitionMixin/MessageProcessingMixin/NotificationMixin
- TransferChain 拆分为 7 个功能 mixin(_mixins.py),SubscribeChain 音乐订阅域拆出 _music.py
- 斜杠命令交互四件套收敛为 InteractionChainMixin 委托,会话管理器移至 application 层,chain 层不再 re-export
- 模块基础类收敛到 app/modules/_base(notification/mediaserver 语义重命名)
- 清理 app/chain/__init__.py 24 个未使用导入,修正 49 处测试 patch 目标到实际命名空间
- 兼容层 legacy 符号不再并入 __all__,根治 schemas 初始化反向拉起 application.transfer 的循环导入
- 修复 bangumi 集数为字符串时 set_bangumi_info 抛 TypeError
- 新增重复代码等架构门禁测试;capability 清单校验排除下划线内部目录
|
2026-08-16 16:30:16 +08:00 |
|
Aqr-K
|
8a11214a43
|
refactor(db): 修复异步连接池无界增长,并完成 SQLAlchemy 2.0 迁移与分层归位 (#6320)
|
2026-08-15 06:58:38 +08:00 |
|
jxxghp
|
369d7d6448
|
refactor: reorganize backend module boundaries
|
2026-08-14 19:53:33 +08:00 |
|
jxxghp
|
7b3444c366
|
refactor backend module architecture
|
2026-08-14 15:45:38 +08:00 |
|
 Aqr-KandAqr-K
|
a2e70b443d
|
fix(monitor,transfer): 修复 FUSE 挂载无响应导致的监控冻死、整理链锁死与漏件 (#6276)
* wip(v3): 移植监控与整理韧性修复到 v3 基线
包含:监控看门狗隔离/挂载探测、整理队列持久化、文件系统子进程代理、
写入原子化。迁移重挂到 v3 链 8a4c7e1d2f90 -> 7f5c1d2e3a4b -> e3d9f4b7c806。
tmdb 相关测试尚未通过,待定位。
* fix(v3): 修正移植引入的 16 项测试失败
- poller.py:合并时我方保留的行仍用旧变量名 merged_snapshot,而 v3 已统一
改名为 current_snapshot,导致 NameError 被外层 except 吞掉、快照从未保存
- smb.py:采纳 f-string 拆分写法,恢复 Python 3.11 可解析
- dispatcher 测试:历史查重由 _should_skip_by_history 统一承担,mock 点随之调整
- tmdb 缓存测试:补充 v3 新增的 media_source/media_id 字段
- tmdb 重试测试:为 fake 补充 match_multi/async_match_multi
尚余 3 项与 v3 识别流程的连接失败处理有关,待单独判断。
* fix(v3): 测试适配 v3 的 media_source/media_id 重构
v3 将媒体标识从 tmdbid 统一重构为 media_source + media_id,recognize_media
的 tmdbid 参数已被 **kwargs 静默吞掉——传了也不生效,流程会误降级到名称搜索。
tmdb 重试用例改用新参数后恢复正确路径。
同时修正 fake 的 match_multi 语义:真实实现(tmdbapi.match_multi)吞掉所有
异常并返回 None,连接失败与「未找到」在该路径上本就不可区分,fake 需保持一致。
至此移植引入的 19 项失败全部清零。
---------
Co-authored-by: Aqr-K <Aqr-K@users.noreply.github.com>
|
2026-08-13 08:19:54 +08:00 |
|
jxxghp
|
ca32922a7f
|
refactor(media): unify media identity and chain responsibilities
|
2026-08-12 18:31:09 +08:00 |
|
jxxghp
|
60aa762ca1
|
feat: 音乐识别与刮削统一入口整合
- 音乐识别统一走 recognize_media,移除 MusicChain.recognize/async_recognize 及 /music/search 独立端点
- 音乐刮削收拢到 MediaChain.scrape_music_metadata,消除 MusicChain 对 MediaChain 的嵌套引用
- MetaInfo/MetaInfoPath 增加 force_video 参数,影视附加音轨保留季集归属
- 整理、订阅、搜索、API 层音乐识别入口全部统一
|
2026-08-09 10:06:54 +08:00 |
|
Aqr-K
|
cf80b551f9
|
fix(monitor): 目录监控自愈、快照语义修正与覆盖保护闭环 (#6210)
|
2026-07-30 06:53:52 +08:00 |
|
jxxghp
|
3b709b7f2e
|
feat: unify media source identity flow (#6129)
|
2026-07-21 20:20:09 +08:00 |
|
freeman
|
4f2935c85e
|
fix(transfer): 种子未下载完成时不回写已整理标签 (#6106)
|
2026-07-13 12:05:01 +08:00 |
|
Album
|
6c3c5e042d
|
修复手动整理按集数定位模板过滤 (#6043)
|
2026-07-03 07:55:59 +08:00 |
|
InfinityPacer
|
a4f6e13881
|
fix(transfer): expose file meta in intercept event (#6019)
|
2026-06-29 06:44:40 +08:00 |
|
jxxghp
|
d7aa66853a
|
fix: 优化同名字幕附加整理
|
2026-06-23 12:07:47 +08:00 |
|
InfinityPacer
|
437baec620
|
test: 测试套件自隔离与全量离线化(collection 清零 + 杜绝真实网络) (#5873)
|
2026-06-02 12:23:08 +08:00 |
|
Album
|
2eb7f57a4c
|
feat: 支持多文件手动整理与集数定位模板推荐 (#5820)
|
2026-05-23 09:23:50 +08:00 |
|
jxxghp
|
fd4d162287
|
fix: respect OpenList directory path contract
|
2026-05-20 22:28:38 +08:00 |
|
jxxghp
|
617692616c
|
fix: build complete transfer result at source
|
2026-05-20 22:09:57 +08:00 |
|
jxxghp
|
e00aa42f94
|
fix: prevent duplicate transfer uploads
|
2026-05-20 16:39:07 +08:00 |
|
jxxghp
|
72ead2970c
|
fix: tolerate delayed OpenList metadata
|
2026-05-20 15:53:56 +08:00 |
|
jxxghp
|
3ec0964a01
|
fix: handle OpenList delayed transfer metadata
|
2026-05-20 13:08:45 +08:00 |
|
jxxghp
|
092666f9d2
|
fix: avoid double episode offset in manual transfer
|
2026-05-17 08:59:17 +08:00 |
|
jxxghp
|
f50773711e
|
feat: add support for syncing matching subtitle and audio files with main media during transfer
|
2026-05-14 21:12:02 +08:00 |
|
jxxghp
|
0f3a4e4c15
|
refactor: rely on transfer chain invariants
|
2026-05-14 07:55:33 +08:00 |
|
jxxghp
|
f4423e121e
|
fix: aggregate metadata scrape events
|
2026-05-14 07:38:06 +08:00 |
|
jxxghp
|
adb7aa6aa9
|
fix: prevent repeated scans after history-based exits
Only mark downloader tasks as organized after a transfer history record exists, including existing-history skips and unrecognized media failures.
|
2026-05-10 10:25:39 +08:00 |
|
InfinityPacer
|
81828948dd
|
fix(transfer): tighten queue cleanup edge cases
|
2026-04-14 14:45:18 +08:00 |
|
InfinityPacer
|
eda73e14f7
|
refactor(transfer): make queue job migration explicit
|
2026-04-14 14:45:18 +08:00 |
|
InfinityPacer
|
6aec326d05
|
fix(transfer): fail stale queue tasks on errors
|
2026-04-14 14:45:18 +08:00 |
|
InfinityPacer
|
d36dd69ec3
|
fix(transfer): clean migrated queue jobs
|
2026-04-14 14:45:18 +08:00 |
|