mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2025-12-20 07:49:33 +05:30
feat: added sponsorblock support and improved resume persistence
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -26,6 +26,12 @@ export interface Settings {
|
||||
import_cookies_from: string;
|
||||
cookies_browser: string;
|
||||
cookies_file: string;
|
||||
use_sponsorblock: boolean;
|
||||
sponsorblock_mode: string;
|
||||
sponsorblock_remove: string;
|
||||
sponsorblock_mark: string;
|
||||
sponsorblock_remove_categories: string[];
|
||||
sponsorblock_mark_categories: string[];
|
||||
// extension settings
|
||||
websocket_port: number;
|
||||
}
|
||||
Reference in New Issue
Block a user