stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
843 stars 33 forks source link

:bug: Fix nested file structure support for ZIP/RAR format #353

Closed aaronleopold closed 1 week ago

aaronleopold commented 2 weeks ago

This PR corrects an issue where Stump incorrectly reads byte content (without unpacking) from archive files in the scenario where the underlying structure is nested, for example:

Comic book.cbz
  |_ ComicInfo.xml
  |_ Comic book folder
       |_ 000.jpg
       |   ...
       |_ 120.jpg

I've also adjusted some of the logic to cut the file reads for #327. Once I'm confident no other changes are necessary, this PR should be ready

aaronleopold commented 1 week ago

This is likely good to go, I'll give it another quick look over after work and then aim to merge it. I'll likely put out a 0.0.4 sometime in the next 1-2 weeks, too.