Fix multi-part RAR extraction: use VolumedArchiveInStream for .partN.rar

The JVM extractor used RandomAccessFileInStream for multi-part RAR archives,
which only provides a single file stream. 7z-JBinding requires
VolumedArchiveInStream to access additional volume parts via callback.

Added RAR_MULTIPART_RE and RAR_OLDSPLIT_RE patterns to detect multi-volume
RAR archives and route them through VolumedArchiveInStream, fixing
"Archive file can't be opened with any of the registered codecs" errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-03 15:54:09 +01:00
co-authored by Claude Opus 4.6
parent d3ec000da5
commit d4bf574370
11 changed files with 41 additions and 3 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "real-debrid-downloader",
"version": "1.5.48",
"version": "1.5.54",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "real-debrid-downloader",
"version": "1.5.48",
"version": "1.5.54",
"license": "MIT",
"dependencies": {
"adm-zip": "^0.5.16",