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: Player next_video - skip unreleased episodes #575

Closed
wants to merge 1 commit into from

Conversation

elpiel
Copy link
Member

@elpiel elpiel commented Dec 5, 2023

Fixes #574

@elpiel elpiel force-pushed the fix/next-video-future-episode branch from b008e1c to 372a91a Compare December 5, 2023 14:24
@elpiel elpiel requested a review from tymmesyde December 5, 2023 14:39
@elpiel elpiel added the bug Something isn't working label Dec 5, 2023
@elpiel elpiel requested a review from TheBeastLT December 12, 2023 07:56
if let Some(stream) = stream {
next_video.streams = vec![stream.clone()];
.and_then(|(_, next_video)| {
match next_video.released {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this released property is not exactly accurate I'm not entirely sure whether it's a good idea not allow going to the next video based on it. Since I'd say it's best to see whether are are valid stream or not for the user. But don't have a strong opinion 🤷

@elpiel elpiel closed this Dec 14, 2023
@elpiel
Copy link
Member Author

elpiel commented Dec 14, 2023

after a discussion with @jaruba we are keeping the old behavior.
Also taking into account that the released date is not always accurate.

@elpiel elpiel deleted the fix/next-video-future-episode branch December 14, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Player's Next video loads episodes that haven't been released yet
2 participants