Fix player track selection handling#400
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/oxyroid/M3UAndroid/sessions/4dd09aa3-6b5b-4ff9-bd82-23207006fd4b Co-authored-by: oxyroid <[email protected]>
Copilot created this pull request from a session on behalf of
oxyroid
May 26, 2026 09:00
View session
Owner
|
@copilot 修复 CI 问题,你必须要经过完整编译验证,如果 GitHub Cloud Agent 环境有问题让你无法访问 submodules,请跟我说如何给你配置 |
Agent-Logs-Url: https://github.com/oxyroid/M3UAndroid/sessions/8303492e-2e0c-48a0-b5c6-cb912062c0e3 Co-authored-by: oxyroid <[email protected]>
Contributor
Author
已修复,提交 |
oxyroid
approved these changes
May 26, 2026
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
Player track selection could target the wrong stream because UI/ViewModel state only carried
Format, losing the Media3 group/index identity. Clearing selected tracks also disabled entire audio/video track types instead of restoring automatic selection.TrackGroup+ index in the track selection model.tracksparameter.AI Agent Checklist
Before submitting this PR, confirm:
AGENTS.md.AGENTS.mdfiles.Instructions Read
List the instruction files read for this change:
AGENTS.mdapp/AGENTS.mdapp/tv/AGENTS.mdbusiness/AGENTS.mddata/AGENTS.mdi18n/AGENTS.mddocs/ai/playbooks/playback-pipeline.mddocs/ai/VALIDATION_MATRIX.mdValidation
Commands run:
Results:
Commands not run:
Reason:
Risk Notes
Mention any risk areas:
PlayerManager.tracks/currentTracksnow exposePlayerTrackinstead of rawFormat.