jxxghp
baf8850d63
refactor(api): standardize responses and restore media config contracts
2026-08-12 23:15:13 +08:00
jxxghp
97dba2a8ae
feat: unify media recognition and music lifecycle
2026-08-12 06:51:58 +08:00
naughtyGitCat
3eed518f83
fix(transhandler): suppress noisy error notification for TV special and extra sample files without episode numbers
...
BD-BOX releases for Anime and TV shows frequently contain extra non-episode video files (such as NCOP, NCED, Menu, PV, CM, SP, Event, Logo, etc.). When transferring these single files, the lack of an episode number previously logged a warning and triggered a noisy '整理失败:未识别到文件集数' notification to users.
This change identifies known special/extra file patterns when begin_episode is None, logs them at INFO level, and suppresses the error notification while returning success to avoid false-positive failure alerts.
2026-08-09 14:48:18 +08:00
jxxghp
05d15a04f5
feat(v3): add music automation workflow
2026-08-07 21:50:22 +08:00
Aqr-K
cf80b551f9
fix(monitor): 目录监控自愈、快照语义修正与覆盖保护闭环 ( #6210 )
2026-07-30 06:53:52 +08:00
InfinityPacer
a4f6e13881
fix(transfer): expose file meta in intercept event ( #6019 )
2026-06-29 06:44:40 +08:00
jxxghp
2255b61195
fix: latest覆盖模式误删多Part文件 ( fix #5862 )
2026-05-30 20:28:26 +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
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
InfinityPacer
9e0846961f
feat(filemanager): add TransferRenameBuild chain event and fix TemplateContextBuilder concurrency ( #5792 )
2026-05-20 09:41:42 +08:00
XiaoChao Fang
cdddd8e080
fix: preserve tv bluray disc folders ( #5788 )
2026-05-19 16:42:23 +08:00
jxxghp
f0bc1bd681
fix: prevent storage operations in preview mode and add tests for transfer preview logic
2026-05-13 13:39:57 +08:00
album
05b34b9c26
feat(transfer): 增加手动整理预览模式(preview mode)
...
- ManualTransferItem/TransferTask 增加 preview 字段,支持同一接口双模式
- /api/v1/transfer/manual 透传 preview,预览时返回结构化结果不落盘
- ChainBase.transfer 增加 preview 参数并透传到 run_module
- TransferChain.do_transfer 预览分支复用完整命名/覆盖判定逻辑(dry-run)
- TransferChain.do_transfer 预览结束后显式 finish_task/fail_task,避免任务残留 running 状态导致重复预览失败
- TransHandler.transfer_media 预览分支跳过实际 copy/move/link/delete,仅返回目标路径
- FileManagerModule.transfer 透传 preview 参数
- 修复 /manual 失败分支 dict 类型导致 Response.message 校验错误
- 兼容性:preview 字段有默认值,旧客户端不传参时行为不变
2026-05-12 10:14:58 +08:00
jxxghp
5d588ee127
fix: correct traditional Chinese subtitle rename detection
...
Fixes #5703
2026-04-28 09:00:14 +08:00
DDSRem
1b489ba581
feat(transfer): TransferOverwriteCheck 支持插件提供源文件真实大小
...
strm → strm 整理场景下,源 .strm 的 fileitem.size 同样不准,
size 模式比较仍会失效,新增 source_size 输出字段允许插件同时
覆盖源/目标的真实媒体大小。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 17:28:24 +08:00
DDSRem
4d9f17b083
feat(transfer): 新增 TransferOverwriteCheck 事件支持插件介入覆盖判断
...
允许插件在覆盖模式判断前提供目标文件的真实大小或直接给出覆盖决策,
解决 .strm 等本地大小不准的场景下 size 模式失效的问题。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 17:28:24 +08:00
DDSRem
f70881bb4f
feat: TransferRename 事件增加 source_item 源文件信息
2026-04-03 17:51:05 +08:00
DDSRem
60ac901c6c
feat: TransferRename 事件增加 source_path 源文件路径参数
...
在智能重命名事件中传递源文件路径,便于插件在重命名时获取待整理文件的原始路径信息。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-03 06:55:06 +08:00
jxxghp
f38cb274e4
Revert "refactor(helper): 将LLMHelper StorageHelper的相关方法改为静态方法,移除实例调用"
...
This reverts commit 9f381b3c73 .
2026-03-14 18:19:47 +08:00
Attente
9f381b3c73
refactor(helper): 将LLMHelper StorageHelper的相关方法改为静态方法,移除实例调用
2026-03-14 10:29:37 +08:00
jxxghp
2f0badd74a
Merge pull request #5457 from cddjr/fix_5449
2026-02-02 23:45:07 +08:00
景大侠
498f1fec74
修复 整理视频可能导致误删字幕及音轨
2026-02-02 23:18:46 +08:00
景大侠
f6a541f2b9
修复 覆盖整理失败时误报成功
2026-02-02 21:50:35 +08:00
景大侠
94f3b1fe84
feat: 支持整理日语字幕
2026-02-01 16:04:22 +08:00
景大侠
aad7df64d7
简化原盘大小计算代码
2026-01-24 11:29:30 +08:00
copilot-swe-agent[bot]
f3b910d55a
Fix AttributeError when mediainfo.type is None
...
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com >
2026-01-24 00:04:02 +00:00
jxxghp
567522c87a
fix:统一调整文件类型支持
2026-01-21 17:59:18 +08:00
jxxghp
a6ed0c0d00
fix:优化transhandler线程安全
2026-01-21 08:42:57 +08:00
jxxghp
68402aadd7
fix:去除文件操作全局锁
2026-01-21 08:31:51 +08:00
jxxghp
bcdf1b6efe
更新 transhandler.py
2026-01-20 15:29:28 +08:00
jxxghp
2c62ffe34a
feat:优化字幕和音频文件整理方式
2026-01-20 13:24:35 +08:00
景大侠
843faf6103
修复 整理记录无法显示原盘大小
2026-01-12 22:14:43 +08:00
stkevintan
ba415acd37
add hard link support for smb
2025-11-27 18:21:54 +08:00
Attente
c17cca2365
fix(update_setting): 修复设置保存错误的问题
...
- adapt to Pydantic V2
2025-11-01 23:51:59 +08:00
Attente
7421ca09cc
fix(transfer): 修复部分情况下无法正确统计已完成任务总大小的问题
...
- get_directory_size 使用 os.scandir 递归遍历提升性能
- 当任务文件项存储类型为 local 时,若其大小为空,则通过 SystemUtils 获取目录大小以确保
完成任务的准确统计。
fix(cache): 修改 fresh 和 async_fresh 默认参数为 True
refactor(filemanager): 移除整理后总大小计算逻辑
- 删除 TransHandler 中对整理目录总大小的冗余计算,提升性能并简化流程。
perf(system): 使用 scandir 优化文件扫描性能
- 重构 SystemUtils 中的文件扫描方法(list_files、exists_file、list_sub_files),
- 采用 os.scandir 替代 glob 实现,并预编译正则表达式以提升目录遍历与文件匹配性能。
2025-10-23 19:21:24 +08:00
Cursor Agent
ce9c99af71
Refactor: Use copy instead of move for file operations
...
Co-authored-by: jxxghp <jxxghp@qq.com >
2025-09-19 09:54:44 +00:00
jxxghp
6c572baca5
rollback
2025-09-13 13:32:48 +08:00
jxxghp
92955b1315
fix:在fork进程中执行文件整理
2025-09-13 08:56:05 +08:00
jxxghp
a3872d5bb5
fix:在fork进程中执行文件整理
2025-09-13 08:50:20 +08:00
jxxghp
a123ff2c04
feat:在fork进程中执行文件整理
2025-09-13 08:32:31 +08:00
jxxghp
b201e9ab8c
Revert "feat:在子进程中操作文件"
...
This reverts commit 4f304a70b7 .
2025-09-08 17:23:25 +08:00
jxxghp
4f304a70b7
feat:在子进程中操作文件
2025-09-08 16:59:29 +08:00
jxxghp
5340e3a0a7
fix
2025-07-28 16:55:22 +08:00
景大侠
05495e481d
fix #4602
2025-07-13 01:10:07 +08:00
jxxghp
b775e89e77
fix #4581
2025-07-10 10:44:04 +08:00
jxxghp
51848b8d8d
fix #4581
2025-07-10 10:20:00 +08:00
景大侠
8ea0a32879
fix 优化重命名后的媒体文件根路径获取
2025-07-08 22:37:32 +08:00
景大侠
5c61b22c2f
fix 未启用重命名时,整理文件的转移路径不正确
2025-07-08 21:49:31 +08:00