Conversation
Abhinav2k
force-pushed
the
fix/next-episode-matching-stream
branch
from
September 11, 2026 13:30
2720261 to
712eee0
Compare
Member
|
this doesnt look like desktop specific please move this to NuvioMobile. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhances next-episode stream auto-selection by preferring candidates that share the active stream name and provider when
bingeGroupis missing, falling back to the standard auto-play scanning algorithm if no matching candidate is found.PR type
Why
When watching a series episode from an addon or provider that does not set
behaviorHints.bingeGroup(e.g. scrapers or multi-source addons), advancing to the next episode failed:bingeGroupwas absent.This change ensures the player remembers the active stream's title, subtitle, and provider ID/name and prioritizes matching streams from the same provider for seamless episodic playback.
Desktop scope
Affects desktop player playback and stream selection logic across Windows, macOS, and Linux (implemented in common desktop shared code).
Issue or approval
Fixes #659
UI / behavior impact
Policy check
CONTRIBUTING.md.Scope boundaries
Intentionally avoids changing regular movie or initial stream selection, and does not alter
bingeGroupevaluation order whenbingeGroupis present. Only supplies fallback stream-matching preferences to next-episode transitions. No UI components were modified.Testing
./gradlew :composeApp:desktopTest --tests "com.nuvio.app.features.streams.StreamAutoPlaySelectorTest"(all 18 test cases passed, including 4 new test cases covering same-name stream prioritization, subtitle discrimination, fallback to standard algorithm, and manual mode handling).Screenshots / Video
Not a UI change
Breaking changes
None
Linked issues
Fixes #659