diff --git a/package.json b/package.json index c006784..9aac3c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "real-debrid-downloader", - "version": "1.6.33", + "version": "1.6.34", "description": "Desktop downloader", "main": "build/main/main/main.js", "author": "Sucukdeluxe", diff --git a/src/main/download-manager.ts b/src/main/download-manager.ts index 227bf61..f2e5e2b 100644 --- a/src/main/download-manager.ts +++ b/src/main/download-manager.ts @@ -6237,6 +6237,19 @@ export class DownloadManager extends EventEmitter { const readyArchives = await this.findReadyArchiveSets(pkg); if (readyArchives.size === 0) { logger.info(`Hybrid-Extract: pkg=${pkg.name}, keine fertigen Archive-Sets`); + // Relabel completed items that are part of incomplete multi-part archives + // from "Ausstehend" to "Warten auf Parts" so the UI accurately reflects + // that extraction is waiting for remaining parts to finish downloading. + const allDone = items.every((i) => i.status === "completed" || i.status === "failed" || i.status === "cancelled"); + if (!allDone) { + for (const entry of items) { + if (entry.status === "completed" && entry.fullStatus === "Entpacken - Ausstehend") { + entry.fullStatus = "Entpacken - Warten auf Parts"; + entry.updatedAt = nowMs(); + } + } + this.emitState(); + } return; }