pierobot / mangapie

This is a self-hosted server for archived manga.
BSD 3-Clause "New" or "Revised" License
64 stars 9 forks source link

Chapters disordered #155

Closed kurim closed 4 years ago

kurim commented 4 years ago

Hi,

sometimes the chapters get disordered like this: image

To avoide such problem I already name them like this: image

Is their a way to pushe the last chapter to top or to define a order?

donotos commented 4 years ago

hi!

from what i know the chapters are sorted lexicographically (discussed in #148 ) when added in bulk, but new additions are put in last. if you use the "watch" (discussed in #150 ) it is possible that the order will be messed up if the chapters are not put in the right order (first to last when you copy them in your library folder) because of that "newly added" particularity.

kurim commented 4 years ago

Hey,

so it get confused by upload many chapters at once...

I think they should show up last to first (manly like most manga sites do it like this), or based on an option to change it.

The mess up could resolve by reupload it but its annoying, so it might be help full to reorder them or something like this.

By the way somtimes it is strange the last chapter cant go back to the chapter before it come up with this message: "There is no page or archive before this one.", but other direction 99 -> 100 work fine

donotos commented 4 years ago

you can actually see your files in that order: https://mangapie.tld/manga/7/files/descending it is the case when you "watch" a serie, when there is a notification and you clic on it it will be displayed this way.

i don't think that the "newly added" particularity should be ignored or disabled. i use FMD to download my mangas and most of the site it download from don't have a fixed naming for their chapters and it would be a mess if the last chapter would be put in the middle because the name changed.

By the way somtimes it is strange the last chapter cant go back to the chapter before it come up with this message: "There is no page or archive before this one.", but other direction 99 -> 100 work fine

i never encountered this issue even through i often use that feature.

kurim commented 4 years ago

you can actually see your files in that order: https://mangapie.tld/manga/7/files/descending this is pretty helpful to order them correctly

after reupload the manga it will be fixed since they are ordered in correct way~

pierobot commented 4 years ago

Soon I'll be adding a more accessible sort and other things from https://github.com/pierobot/mangapie/issues/148#issuecomment-612653321

Your issue should not be happening though. Do you have a way I can reproduce this?

kurim commented 4 years ago

Hi piero,

the issue with the disordered: just let ":watch" running and upload files in a bulk

/reader/50/2710/1 (Ch. 108) cant go back to /reader/50/2709/19 (Ch. 107). But from Ch. 107 I can go back to 106

pierobot commented 4 years ago

One of the recent commits should have fixed the out of order archives and also adds a way to view either ascending or descending.

Your last comment pertains to https://github.com/pierobot/mangapie/issues/161 so I'll just close this issue.