getmango / Mango

Mango is a self-hosted manga server and web reader
https://getmango.app
MIT License
1.69k stars 120 forks source link

Add new MangaDex downloads to the end of the queue. #31

Open DuraMorte opened 4 years ago

DuraMorte commented 4 years ago

My wife gave me a long list of manga she wanted from MangaDex. Upon adding a few, the download manager was scrambled. It appears that the newer additions get mixed randomly into the older ones, causing things to download out of order, and all sorts of other random mischief.

Would it be possible to have the newest chapters always added to the bottom of the list, in numerical order starting from the lowest number?

This would force the download to start from the beginning of the manga and proceed through all the chapters before beginning the download for the next one in line.

hkalexling commented 4 years ago

Hi,

Currently, the chapters are ordered according to the date they were added to MangaDex (the "timestamp" column in the following screenshot), so the older chapters will be downloaded first.

Screen Shot 2020-04-12 at 11 07 43 PM

Would it be possible to have the newest chapters always added to the bottom of the list, in numerical order starting from the lowest number?

Some chapters might not have the "volume" or "chapter" numbers attached, so this could be problematic. Let me know if you have any suggestions on how to deal with this.

DuraMorte commented 4 years ago

Mango chapter sort

I just want the manga to stay together... so instead of adding three different manga and them downloading randomly, they will download in the order that I added them to the download queue.

I suppose chapter/volume order doesn't matter as much as keeping the individual titles grouped together.

If it isn't possible, it's no big deal. I just wanted to ask about it to see if it was by design. :)

hkalexling commented 4 years ago

It's a good point! Let me think about it and see if I come up with a way to redesign the UI so the chapters from the same manga can be grouped together.