feat: added sponsorblock support and improved resume persistence

This commit is contained in:
2025-08-26 09:14:49 +05:30
parent 4184b4b779
commit b73ab86066
8 changed files with 319 additions and 37 deletions

View File

@@ -37,6 +37,13 @@ export interface DownloadState {
filepath: string | null;
filetype: string | null;
filesize: number | null;
output_format: string | null;
embed_metadata: number;
embed_thumbnail: number;
sponsorblock_remove: string | null;
sponsorblock_mark: string | null;
created_at?: string;
updated_at?: string;
}
export interface Download {
@@ -65,6 +72,13 @@ export interface Download {
filepath: string | null;
filetype: string | null;
filesize: number | null;
output_format: string | null;
embed_metadata: number;
embed_thumbnail: number;
sponsorblock_remove: string | null;
sponsorblock_mark: string | null;
created_at: string;
updated_at: string;
}
export interface DownloadProgress {