Dar9586 / NClientV2

An unofficial NHentai android client
Apache License 2.0
1.82k stars 93 forks source link

Downloads bugged for files with the same title #698

Open ClemCa opened 6 months ago

ClemCa commented 6 months ago

Expected Behavior

Downloading two doujins with the exact same name (for example two volumes of the same series) would be completely fine.

Current Behavior

Starting the second download immediately halts the first and puts the second in indefinite loading. If the first was already downloaded, it just won't.

Possible Solution

Considering the folders are directly named by the titles, add conflict checking, and add a number at the end as a potential way to deduplicate files with the same name but different IDs. This would require some level of modification, but hopefully not too much.