-
v1.6.66 Stable
released this
2026-03-05 17:32:42 +01:00 | 451 commits to main since this releaseFix: Deferred post-extraction cleanup skipped after hybrid extraction
When hybrid extraction completed all archives during download,
extractedCountstayed at 0 because the full extraction pass was skipped. This caused ALL deferred cleanup steps inrunDeferredPostExtractionto be bypassed:- Archive cleanup: source RAR/ZIP files remained in the download directory (Downloader Unfertig) instead of being deleted
- Resume state cleanup:
.rd_extract_progress_*.jsonmarker files were not deleted - Link artifact removal: promotional
.url/.lnk/.txtfiles from archives were not cleaned up - Sample artifact removal: sample video files and folders were not removed
- Empty directory removal: empty download folders were not pruned after archive deletion
- Auto-rename: extracted video files were not reliably renamed (hybrid used fire-and-forget only)
- Nested extraction: archives-inside-archives were not checked for further extraction
Root Cause
All cleanup conditions in
runDeferredPostExtractionchecked onlyextractedCount > 0. When hybrid extraction already handled everything,alreadyMarkedExtractedwastruebutextractedCountremained0(full extraction was skipped entirely).Fix
Extended all deferred cleanup conditions from
extractedCount > 0to(extractedCount > 0 || alreadyMarkedExtracted)so cleanup runs regardless of which extraction path was taken.Downloads