mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Random access an encrypted multipart rar volume #50
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dreamcooled on GitHub (Aug 1, 2015).
Hei @adamhathcock
Thanks for sharing this project with us.
I'm trying to achieve some complicated stuff with rar and for that I have looked at number of unrar implementations (including the unrar code itself). Your implementation is by far the most advanced and best structured one 👍 .
What I'm trying to achieve:
Streamsubclass which allows random access and provides access to the volumes. This means I use the following constructor:Even if we leave out the encryption for a second, we have multiple problems:
RarArchiveEntry.OpenEntryStreamwon't work with incomplete/multipart ArchiveEntriesMultiVolumeReadOnlyStreamallows no random accessMy Questions:
Background:
Movies, Tv Shows hosted on one-click-hosters are often delivered in 100mb parts. I already have a piece of software which allows you to automatically unpack parts (and start watching the content) while the missing parts are still loading.
But if you take this idea to the next level and combine a downloader, extractor and a player into one application, you would be able to provide an even greater experience (seeking !). Seeking in a mkv file is not a problem. Seeking in AES Stream is a bit harder (but should still be possible in theory, right?). But seeking in a multipart rar volume.....