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

[Bugfix] Ensure livestreams aren't downloaded until they're finished processing #485

Merged
merged 4 commits into from
Nov 26, 2024

Conversation

kieraneglin
Copy link
Owner

What's new?

N/A

What's changed?

N/A

What's fixed?

  • Previously, we relied purely on methods like Media.pending_download? to determine both if something should be downloaded and if something is ready to be downloaded. It works great for the former, but didn't work as well for the latter (esp. around some edge cases with fast indexing). Now, there's an explicit pre-check in MediaDownloader to ensure that the media is actually in a state that it can be downloaded. If it's not, we'll check again during the next indexing pass (both slow and fast indexing) . This could conceivably change in the future but this is a proof-of-concept

Any other comments?

N/A

@kieraneglin kieraneglin self-assigned this Nov 26, 2024
@kieraneglin kieraneglin merged commit bfb2742 into master Nov 26, 2024
1 check passed
@kieraneglin kieraneglin deleted the ke/livestream-from-start-issue branch November 26, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to set the Start time for Fast Indexing [Triage] Missing a few minutes of live streams
1 participant