Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix retry button issues #310

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Fix retry button issues #310

merged 1 commit into from
Aug 13, 2023

Conversation

JLyne
Copy link
Contributor

@JLyne JLyne commented Aug 13, 2023

The arguments passed to retryDownload by the retry button do not match what the function actually expects. This causes a few issues:

  • Downloads break if a custom folder is set
  • Format and custom name prefix are not applied to the retried download

This PR fixes these problems by passing the entire download object to retryDownload, which now populates everything correctly. The Download interface was also updated to include all the fields actually sent by the server.

Fixes #233, #262

The arguments passed to retryDownload by the retry button do not match what the function actually expects. This causes downloads to break if a custom folder is set and also causes some settings like format and custom name prefix to be ignored.
@alexta69 alexta69 merged commit 4b708e7 into alexta69:master Aug 13, 2023
@alexta69 alexta69 mentioned this pull request Aug 13, 2023
@alexta69
Copy link
Owner

Thanks @JLyne !!

@JLyne JLyne deleted the fix-retry branch August 13, 2023 12:07
@arabcoders
Copy link
Contributor

@JLyne Thanks for the patch i've applied it. However there seems to be an edge case where if the video failed to download due to many reason it shows weird behavior in the completed list. See attached photo.

image

The text in the options side seems to be the same place as the download button supposed to be.

@arabcoders
Copy link
Contributor

Example from correct behavior for completed download vs failed download

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retry download fails with Error: 500
3 participants