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

Yokai not detecting page ordering of downloaded chapter folders correctly #362

Open
8 tasks done
lalalasupa0 opened this issue Feb 9, 2025 · 2 comments
Open
8 tasks done
Labels
bug Something isn't working

Comments

@lalalasupa0
Copy link

lalalasupa0 commented Feb 9, 2025

Steps to reproduce

!!! You can skip all of this and go straight to my comment below unless you want the whole lore

First of all, I'll explain my situation where exactly this happened to me

  1. Download a chapter from the E-Hentai (OTHER) extension through Ex-Hentai, this time it was the gallery/manga [Ichijikushirabe Shiki (Shirabe Shiki)] Saimin o... 2 [English] [SDTLs] [Decensored] [Decensored]`
  2. With the chapter downloaded and the gallery in my library, I closed the app forcibly and deleted its cache, then I went to the web of that gallery and downloaded a torrent that it provides, this to swap the .cbz downloaded by Yokai for a folder with the images downloaded from the web, numbered like this in this occasion: 00, 1, 2..., this folder of course had the same name as the .cbz
  • If Yokai could not download the chapter for any reason, before canceling the download simply save the download location and make sure it has the chapter ID and then create the location manually, this with the app forcefully closed and cache cleared
    ** While doing all this I noticed that Yokai did not detect what was swapped if it was in .zip format, that's why I used a folder instead
  1. Once the location was set with the folder containing the images from the web where the .cbz was, I opened the app
  2. I opened the gallery and chapter
  3. I started to read

Expected behavior

The images should be in the order following the filenames

Actual behavior

Mess after a few well-ordered images

Crash logs

No response

Yōkai version

App version: 1.9.8-r6194 (standard, 2208a81, 157, 2025-02-05T00:55:35Z) Android version: 11 (SDK 30) Android build ID: RPNS31.Q1-51-40-16-12 Device brand: motorola Device manufacturer: motorola Device name: nairo Device model: motorola one 5G Device product name: nairo_a

Android version

11

Device

motorola one 5g

Other details

This may or not be related to issue #78

In this situation the order is indeed weird because it starts with 00 and continues with 1, 2, 3... with no "0" before that 1. But, this didn't just happen with one gallery and those others didn't have that filenaming particularity

I will test if this happens with the local source as well, and I could also provide the stuff downloaded from the web if you don't mind the NSFW

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help (Browse → Extensions → Find the extension → Settings → Tap the [<>] icon, it should redirect you to the maintainer).
  • I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon.
  • I have tried the troubleshooting guide.
  • I have updated the app to version 1.9.7.
  • I have updated all installed extensions.
  • I have filled out all of the requested information in this form.
@lalalasupa0 lalalasupa0 added the bug Something isn't working label Feb 9, 2025
@lalalasupa0
Copy link
Author

Yeah this doesn't happen with local source, only with downloads

@lalalasupa0
Copy link
Author

Just in case, I played with the setting to save downloaded chapters as CBZ but it didn't change anything

Manually renaming the files inside the folder even if they look like this: (1), (2)... doesn't fix it either

✅ Converting the folder to .cbz fixed it, so the issue now is that Yokai doesn't detect correctly the pages if they were downloaded into a folder instead of a CBZ regardless of the save downloaded chapters as CBZ setting

@lalalasupa0 lalalasupa0 changed the title Incorrectly detecting page order of downloaded chapters Yokai not detecting page ordering of downloaded chapter folders correctly Feb 9, 2025
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

1 participant