1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-02-04 17:42:22 +05:30

feat: added support for full-playlist/selective-batch downloading #9

This commit is contained in:
2026-01-15 15:22:43 +05:30
Verified
parent 2b7ab9def4
commit 1eb23eb035
18 changed files with 768 additions and 290 deletions

View File

@@ -6,7 +6,7 @@ export interface DownloadState {
subtitle_id: string | null;
queue_index: number | null;
playlist_id: string | null;
playlist_index: number | null;
playlist_indices: string | null;
title: string;
url: string;
host: string;
@@ -29,6 +29,7 @@ export interface DownloadState {
dynamic_range: string | null;
process_id: number | null;
status: string | null;
item: string | null;
progress: number | null;
total: number | null;
downloaded: number | null;
@@ -58,7 +59,7 @@ export interface Download {
subtitle_id: string | null;
queue_index: number | null;
playlist_id: string | null;
playlist_index: number | null;
playlist_indices: string | null;
resolution: string | null;
ext: string | null;
abr: number | null;
@@ -68,6 +69,7 @@ export interface Download {
dynamic_range: string | null;
process_id: number | null;
status: string | null;
item: string | null;
progress: number | null;
total: number | null;
downloaded: number | null;
@@ -91,6 +93,7 @@ export interface Download {
export interface DownloadProgress {
status: string | null;
item: string | null;
progress: number | null;
speed: number | null;
downloaded: number | null;

View File

@@ -43,7 +43,7 @@ export interface DownloaderPageStatesStore {
selectedCombinableVideoFormat: string;
selectedCombinableAudioFormat: string;
selectedSubtitles: string[];
selectedPlaylistVideoIndex: string;
selectedPlaylistVideos: string[];
downloadConfiguration: DownloadConfiguration;
erroredDownloadIds: Set<string>;
expectedErrorDownloadIds: Set<string>;
@@ -56,7 +56,7 @@ export interface DownloaderPageStatesStore {
setSelectedCombinableVideoFormat: (format: string) => void;
setSelectedCombinableAudioFormat: (format: string) => void;
setSelectedSubtitles: (subtitles: string[]) => void;
setSelectedPlaylistVideoIndex: (index: string) => void;
setSelectedPlaylistVideos: (indices: string[]) => void;
setDownloadConfigurationKey: (key: string, value: unknown) => void;
setDownloadConfiguration: (config: DownloadConfiguration) => void;
resetDownloadConfiguration: () => void;