From 479c7a3f3f2461a6b3a26b77213db487acbc58db Mon Sep 17 00:00:00 2001 From: Sucukdeluxe Date: Thu, 5 Mar 2026 01:38:51 +0100 Subject: [PATCH] Fix hybrid extraction showing "Ausstehend" instead of "Warten auf Parts" When hybrid extraction finds no ready archive sets (because remaining parts are still downloading), completed items were incorrectly labeled as "Entpacken - Ausstehend" instead of "Entpacken - Warten auf Parts". Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- src/main/download-manager.ts | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) 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; }