feat(pipeline): 批量归档确认、字幕判重与综艺幂等收尾

- 批量归档拆 plan/execute,多目录一次确认;worker 按目录计数
- 字幕按已有 sidecar 判重,避免重抽
- 综艺按集号锁定、已规范不计入 rename,预览显示完整目标名
- 特典在整理阶段写 NFO(airs/display),归档后 Jellyfin 直接生效
- docs/rules/项目记忆同步
This commit is contained in:
ali
2026-11-28 13:53:17 +08:00
parent d5a39af9cb
commit 659a6af456
14 changed files with 732 additions and 196 deletions
+2 -2
View File
@@ -319,11 +319,11 @@ class JellyfinAdFixService:
if not dry_run and not auto_execute:
try:
answer = input(f"⚠️ 是否修复以上 {len(targets)} 个条目(含 NFO 清理)?[y/n/q]: ").strip().lower()
answer = input(f"⚠️ 是否修复以上 {len(targets)} 个条目(含 NFO 清理)?[Y/n/q]: ").strip().lower()
except EOFError:
log.warning("⛔ 没有可用的终端输入,按取消处理。")
return {"cancelled": True}
if answer not in {"y", "yes"}:
if answer in {"n", "q"}:
log.info("💤 任务已由用户取消。")
return {"cancelled": True}