Compare commits
2 Commits
33658503a8
...
7141579289
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7141579289 | ||
|
|
dfc5d73105 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "real-debrid-downloader",
|
"name": "real-debrid-downloader",
|
||||||
"version": "1.6.94",
|
"version": "1.6.95",
|
||||||
"description": "Desktop downloader",
|
"description": "Desktop downloader",
|
||||||
"main": "build/main/main/main.js",
|
"main": "build/main/main/main.js",
|
||||||
"author": "Sucukdeluxe",
|
"author": "Sucukdeluxe",
|
||||||
|
|||||||
@ -6747,6 +6747,19 @@ export class DownloadManager extends EventEmitter {
|
|||||||
if (anyActivelyProcessing) {
|
if (anyActivelyProcessing) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// Safety: if any pending item in the package has neither targetPath nor fileName,
|
||||||
|
// we cannot map it to a file on disk. It could correspond to any missingPart
|
||||||
|
// (e.g. after a reset before re-unrestrict), so skip disk-fallback for this archive.
|
||||||
|
const hasUntrackedPendingItem = pkg.itemIds.some((itemId) => {
|
||||||
|
const pendingItem = this.session.items[itemId];
|
||||||
|
return pendingItem
|
||||||
|
&& !isFinishedStatus(pendingItem.status)
|
||||||
|
&& !pendingItem.targetPath
|
||||||
|
&& !pendingItem.fileName;
|
||||||
|
});
|
||||||
|
if (hasUntrackedPendingItem) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
logger.info(`Hybrid-Extract Disk-Fallback: ${path.basename(candidate)} (${missingParts.length} Part(s) auf Disk ohne completed-Status)`);
|
logger.info(`Hybrid-Extract Disk-Fallback: ${path.basename(candidate)} (${missingParts.length} Part(s) auf Disk ohne completed-Status)`);
|
||||||
ready.add(pathKey(candidate));
|
ready.add(pathKey(candidate));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user