mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
feat(downloads): recover missing completed files
This commit is contained in:
1 parent
bd61426d8e
commit
8a685ebf20
10 files changed
+361
-1
No files matched your search
@@ -535,6 +535,10 @@ export interface ElectronBridgeDownloadStartResult extends ElectronBridgeErrorRe
|
||||
id?: number;
|
||||
}
|
||||
|
||||
export interface ElectronBridgeDownloadRedownloadResult extends ElectronBridgeErrorResult {
|
||||
recovered?: boolean;
|
||||
}
|
||||
|
||||
export interface ElectronDownloadItem {
|
||||
id: number;
|
||||
playlistId: string;
|
||||
@@ -1078,6 +1082,9 @@ export interface ElectronBridgeApi {
|
||||
downloadId: number,
|
||||
downloadFolder: string
|
||||
) => Promise<ElectronBridgeErrorResult>;
|
||||
downloadsRedownloadMissing: (
|
||||
downloadId: number
|
||||
) => Promise<ElectronBridgeDownloadRedownloadResult>;
|
||||
downloadsRemove: (downloadId: number) => Promise<ElectronBridgeErrorResult>;
|
||||
downloadsGetList: (playlistId?: string) => Promise<ElectronDownloadItem[]>;
|
||||
downloadsGet: (downloadId: number) => Promise<ElectronDownloadItem | null>;
|
||||
|
||||
Reference in new issue
Block a user