Jays2Kings / tachiyomiJ2K

Free and open source manga reader for Android
Apache License 2.0
4.35k stars 207 forks source link

Downloaded pages end up in the wrong location #1783

Open lalalasupa0 opened 4 months ago

lalalasupa0 commented 4 months ago

Steps to reproduce

  1. Open an entrie with 2 chapters with exactly the same name
  2. "Download" both
  3. Open both

Expected behavior

The pages of a chapter should be exactly the same as the website corresponding to the chapter.

Actual behavior

The pages are interchanged between both chapters, the reason for this, I believe, is because they share the same name.

Crash logs

No response

TachiyomiJ2K version

1.7.4

Android version

Android 12

Device

Samsung Galaxy S10+

Other details

When there are two chapter that have the same name, when downloading both, the images corresponding to one chapter end up in the other chapter

I'm not sure if it's a problem with the app itself that the images don't end up in the locations where they should. Something like adding a _1 to the location would work I guess.

Specifically, I'm having this problem with Keiyoushi's Kemono extension more than anything else, but it's not only in that extension. It also happens in other extensions, I simply clarified that it happens more in that one because it's where there are more "chapters" with the same names.

Screenshot_20240225_212430_TachiyomiJ2K By downloading both "chapters", the pages of the top chapter end up in the location corresponding to the bottom chapter and vice versa.

Acknowledgements

lalalasupa0 commented 4 months ago

I did my best to make it clear, I hope it's understood.