fix(player): support autoplay for externally selected episodes - #1928
Open
wiktorekdev wants to merge 1 commit into
Open
wiktorekdev wants to merge 1 commit into
wiktorekdev wants to merge 1 commit into
Conversation
22 tasks
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
Adds a shared
playEpisodeAtIndexaction for external player integrations. It resolves an aired episode from its original metadata index and sends it through the existing download, stream-resolution, and autoplay pipeline.PR type
Why
Desktop MPRIS Previous needs to start the resolved previous episode using the same autoplay policy as Next. The shared player previously had no action for an externally selected episode, so Desktop could only open the stream picker instead of applying the configured autoplay flow.
Issue or approval
Approved by a maintainer in #653: NuvioMedia/NuvioDesktop#653.
UI / behavior impact
Policy check
CONTRIBUTING.md.Scope boundaries
No UI, player controls, MPRIS, dependency, or platform-specific changes are included. This PR only adds the shared autoplay action required by the approved Desktop MPRIS fix.
Testing
./gradlew :composeApp:testAndroidHostTest --tests com.nuvio.app.features.player.skip.PlayerNextEpisodeRulesTest --no-daemonScreenshots / Video
Not a UI change.
Breaking changes
None.
Linked issues
Approved Desktop MPRIS fix in #653: NuvioMedia/NuvioDesktop#653.