#94 Downloads failing immediately correctly update UI#104
#94 Downloads failing immediately correctly update UI#104Chralu wants to merge 3 commits intoamugofjava:masterfrom
Conversation
63e7f66 to
c819a1e
Compare
|
Hi @Chralu, Thanks for this pr. I think this gets us part of the way there, but I need to revisit this section as there are still problems - for example when in airplane mode. If you start a download, it appears to cancel, but when you return it is queued but never gets any further. Screen_recording_20230929_181525.webm |
f03cbf9 to
f11a99c
Compare
|
Hi @amugofjava , I've reworked this PR a bit to handle the case you described. The issue was caused by an inconsistency between :
The fix mainly consists in using the standard download progress workflow when download initialization fails. |
…tes are not processed while a download start/stop is requested (they are processed right after).
7b81651 to
d6277c5
Compare
…persistence and UI.
d6277c5 to
75036f2
Compare
|
Hi @Chralu, Thanks for the updated PR. Moving the download parts fully into the DownloadService makes sense; however, doing so has introduced a regression. Previously, hitting download would change the status to If you take a look at the capture below that shows current behaviour: download_before.mp4And compare to the behaviour in the PR: download_after.mp4There is a noticeable delay between hitting download and the UI being updated. I think it should be an easy fix. The episode stream needs updating before the download process kicks in. |
|
Hi @amugofjava , thanks for the review ! |
Fixes #94
Add a Lock to DownloadService. This ensures that download status updates are not processed while a download start/stop is requested (they are processed right after).