Skip to content
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

Closed
wants to merge 22 commits into from
Closed

Add Support for 7zip archives #46

wants to merge 22 commits into from

Conversation

abdallahmehiz
Copy link

@abdallahmehiz abdallahmehiz commented Jan 16, 2024

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:

  • The load times for archives with compression methods other than LZMA2 or Deflate are pretty bad
  • PPMd, the compression method, isn't supported by Apache's common compress for 7zip so PPMd archives can't be used

so in the end, supported compression methods are: Deflate, BZip2, LZMA and LZMA2.

@AntsyLich
Copy link
Member

AntsyLich commented Jan 17, 2024

PPMd, the compression method, isn't supported by Apache's common compress for 7zip so PPMd archives can't be used

Would it be possible to throw a custom error similar to what we do for Rar 5?

@AntsyLich
Copy link
Member

And maybe a toast when opening the slow ones

ty for your patience
# 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
gradle/libs.versions.toml Outdated Show resolved Hide resolved
@Efreak
Copy link

Efreak commented Feb 7, 2024

throw a custom error similar to what we do for Rar 5

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

@abdallahmehiz
Copy link
Author

Suggest providing an option to open the new file with another app, for example perfect viewer or a file manager.

that's out of the scope of this pr

@abdallahmehiz abdallahmehiz deleted the branch mihonapp:main March 8, 2024 17:06
@abdallahmehiz abdallahmehiz deleted the main branch March 8, 2024 17:06
@abdallahmehiz abdallahmehiz restored the main branch March 8, 2024 17:07
@abdallahmehiz abdallahmehiz deleted the main branch March 8, 2024 17:10
@abdallahmehiz abdallahmehiz restored the main branch March 8, 2024 17:10
@abdallahmehiz abdallahmehiz reopened this Mar 8, 2024
@abdallahmehiz
Copy link
Author

did a little oopsie

@AntsyLich
Copy link
Member

Supersedes by #949

@AntsyLich AntsyLich closed this Jun 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants