Repository: aniyomiorg/aniyomi

Issue #1325:  [🚀DL] known multithread issues
Created: 2024-01-19T10:11:41Z
Steps to reproduce
Problems with mt downloads
Expected behavior

pause and resume should work
aniyomi should delete partial temp file
should not crash, should not create a toast in a non ui thread

Actual behavior
Issue 1: Unable to Pause and Resume a Multi-Threaded Download
    Description: The application is currently unable to pause and resume a multi-threaded download.

Issue 2: AniYomi Unable to Restart Download if Temporary Files Exist
    Description: AniYomi is unable to restart a download if temporary files (e.g., partn.tmp files) still exist in the download folder.

Issue 3: NullPointerException when Toast is Created on Unauthorized Thread
    Description: Encountering a java.lang.NullPointerException when there is an error during the download process. It appears that the application is attempting to create a toast from an unauthorized thread, leading to the exception.

Crash logs
No response
Aniyomi version
0.15.2.2
Android version
android 13
Device
should be device agnostic
Other details
No response
Acknowledgements

 I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
 I have written a short but informative title.
 If this is an issue with an official extension, I should be opening an issue in the extensions repository.
 If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
 I have gone through the FAQ and troubleshooting guide.
 I have updated the app to version 0.15.2.2.
 I have updated all installed extensions.
 I will fill out all of the requested information in this form.

Duplicate issue #1428: Downloading an episode canceled when canceling another download.
Created: 2024-02-15T20:32:44Z
Steps to reproduce
If, for example, I am downloading episode 1 and episode 2 of an anime (not necessarily the same one) when canceling the download of the 2nd episode the download of the first is also interrupted
Expected behavior
What should happen is the cancellation of only the 2nd episode and the 1st episode should continue to download.
Actual behavior
Instead, the download of the 2nd episode is also cancelled.
Crash logs
No response
Aniyomi version
r7507
Android version
Android 11
Device
Moto e40
Other details
No response
Acknowledgements

 I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
 I have written a short but informative title.
 If this is an issue with an official extension, I should be opening an issue in the extensions repository.
 If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
 I have gone through the FAQ and troubleshooting guide.
 I have updated the app to version 0.15.2.4.
 I have updated all installed extensions.
 I will fill out all of the requested information in this form.

Closing comment (2024-02-18T21:03:07Z): Duplicate of #1325 (known download issue compilation) and #1326