Open z9xx7o0 opened 2 months ago
So basically, I deleted every _tmp folder, then tried downloading again. And they all worked.
This issue isn't considered closed. Because every time I choose to cancel a download, or the app closes, or anything that resets the download, I have to manually delete the tmp folder.
I hope you can implement automatically checking for a tmp folder before the download starts. And if there is one, it should be deleted.
Steps to reproduce
Download an anime episode, cancel the download, then redownload the same episode again. Some of them will get stuck at 100%.
Expected behavior
When the download reaches 100%, the download is finished.
Actual behavior
The download is stuck at 100% and gives a red exclamation mark in the anime page.
![Screenshot_20240421_083902_Aniyomi](https://github.com/aniyomiorg/aniyomi/assets/83415416/3a8cfdb2-b219-4059-bb63-87000aac21fe)
Crash logs
This issue doesn't involve crashes.
Aniyomi version
0.15.2.4-7513 (or) Preview r7513
Android version
Android 14, One UI 6.1
Device
Samsung galaxy s23 ultra
Other details
Acknowledgements: 1- I searched as best as I can, and I didn't find this issue. Though I only looked at the titles that had the keyword "download".
3- I'm pretty sure the issue is from aniyomi and not from the extension. Because I can successfully download the episodes with an external download manager. If I'm wrong, I'll remove the issue and repost it in the extensions repository.
8- This issue doesn't involve crashes, so I left the Crash logs section empty
Thoughts: I think i got it. The problem occurs when you download an episode, cancel it, then redownload it again. It seems aniyomi doesn't delete the file after you cancel the download.![Screenshot_20240421_091912_MiXplorer](https://github.com/aniyomiorg/aniyomi/assets/83415416/72b931f1-ae7d-469e-89dc-a3b67b96eb60)
After manually deleting the files, then redownloading it, the download finishes successfully.
Acknowledgements