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

Local Manga Not Loading #1192

Open
2 tasks done
Pandarte opened this issue Nov 30, 2024 · 1 comment
Open
2 tasks done

Local Manga Not Loading #1192

Pandarte opened this issue Nov 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Pandarte
Copy link

Pandarte commented Nov 30, 2024

Brief summary

When I try to load a manga I've downloaded elsewhere, and if it has several chapters, the chapters don't load.

I often download mangas outside of Kotatsu and enjoy reading them with the app's player. I store my mangas in a way similar to the application's format, with each chapter as an individual CBZ file in a folder named after the manga. This method worked before the 7.7 update. The recent changes described as 'Improved local manga loading' have probably broken something.

The mangas still show up on the 'On device' tab, and mangas with only one chapter (which are not in individual folders but are directly placed as CBZ files in the source folder) work perfectly. It seems that the absence of an index.json file in the folder (since it was imported, Kotatsu didn't generate it) is the cause of the bug, but I'm not entirely sure, because there is none in the imported one-shots either (which are stored as individual CBZ files) and they still work.

A simple way to solve this problem would be to check whether an index file exists, and if not, to use the old chapter detection method.

Steps to reproduce

  • Set a custom local manga directory
  • Download a manga (from wherever you want) with multiple chapters as individual bcz files
  • Put the chapters in a new folder (named after the manga) in the local manga directory
  • The manga appears in the "On device" tab, but Kotatsu indicates that there are no chapters (even though it correctly gives their weight)

Kotatsu version

7.7

Android version

13

Device

Samsung Galaxy S20 5G

Acknowledgements

  • This is not a duplicate of an existing issue. Please look through the list of open issues before creating a new one.
  • This is not an issue with a specific manga source. Otherwise, you have to open an issue in the parsers repository.
@Pandarte Pandarte added the bug Something isn't working label Nov 30, 2024
@PhantomKnight287
Copy link

Facing this same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants