feat(download): 支持未识别资源确认下载 (#6356)

* feat(download): 支持未识别资源确认下载

* feat(download): 音乐与影视统一未识别确认下载逻辑

* fix(download): 修正未识别媒体信息构造的类型标注与合集归一

---------

Co-authored-by: liulang <liulang@25qp.cn>
Co-authored-by: jxxghp <jxxghp@gmail.com>
This commit is contained in:
fliu2476
2026-08-19 13:40:47 +08:00
committed by GitHub
co-authored by liulang jxxghp
parent bbd5c12dbc
commit 0069d04b18
5 changed files with 156 additions and 3 deletions
+4
View File
@@ -31,6 +31,10 @@ class DownloadAddedData(BaseModel):
"""下载任务添加结果。"""
download_id: Optional[str] = Field(default=None, description="下载任务 ID")
requires_confirmation: bool = Field(
default=False,
description="是否需要用户确认后下载未识别资源",
)
class SubtitleDownloadData(BaseModel):