feat: add segment tracking to audiobook projects and update UI to display progress

This commit is contained in:
2026-03-13 16:00:31 +08:00
parent d1503b08cb
commit cdb9d2ebb8
4 changed files with 59 additions and 22 deletions

View File

@@ -45,6 +45,8 @@ class AudiobookProjectResponse(BaseModel):
script_config: Optional[Dict[str, Any]] = None
created_at: datetime
updated_at: datetime
segment_total: int = 0
segment_done: int = 0
model_config = ConfigDict(from_attributes=True)