mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
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:
co-authored by
liulang
jxxghp
parent
bbd5c12dbc
commit
0069d04b18
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user