优化视频下载

This commit is contained in:
mtvpls
2026-06-04 14:09:12 +08:00
parent caa9cd82c0
commit 63fb51ce99
5 changed files with 520 additions and 97 deletions
+10
View File
@@ -29,6 +29,16 @@ export interface SavedTask {
m3u8Content?: string;
createdAt: number;
completedAt?: number;
segmentLogs?: Array<{
id: string;
index: number;
status: 'queued' | 'downloading' | 'success' | 'retry' | 'error' | 'timeout' | 'aborted';
message: string;
timestamp: number;
retryCount?: number;
durationMs?: number;
httpStatus?: number;
}>;
}
export interface CompletedTask {