-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for 7zip archives #46
Conversation
Would it be possible to throw a custom error similar to what we do for Rar 5? |
And maybe a toast when opening the slow ones |
core/src/main/java/eu/kanade/tachiyomi/util/storage/SevenZUtil.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/SevenZipPageLoader.kt
Outdated
Show resolved
Hide resolved
source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt
Outdated
Show resolved
Hide resolved
source-local/src/commonMain/kotlin/tachiyomi/source/local/io/Format.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt # core/common/src/main/kotlin/eu/kanade/tachiyomi/util/storage/SevenZUtil.kt # source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt
# Conflicts: # app/build.gradle.kts # app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt # core/common/build.gradle.kts # source-local/build.gradle.kts
core/common/src/main/kotlin/eu/kanade/tachiyomi/util/storage/SevenZUtil.kt
Outdated
Show resolved
Hide resolved
core/common/src/main/kotlin/eu/kanade/tachiyomi/util/storage/SevenZUtil.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
more like a workaround
Suggest providing an option to open the new file with another app, for example perfect viewer or a file manager. Oddly, there is a feature request closed by the author for ppmd support in commons compress from 2014 |
that's out of the scope of this pr |
did a little oopsie |
Supersedes by #949 |
basically users can now use 7z and cb7 files to read their manga.
intended to close issue #10121 from original tachi repo
Thanks to @Claudemirovsky for the help getting this to work
Notes:
so in the end, supported compression methods are: Deflate, BZip2, LZMA and LZMA2.