Skip to content

Conversation

@sildur
Copy link

@sildur sildur commented Nov 29, 2025

Changes
PlaybackSubscriber was firing media session updates before rebinding the new player, so the initial payload sent isLocalPlayer: false (player undefined) to NativeShell. Android then assumed remote playback and showed the cast/remote volume rocker instead of the phone’s local volume, making volume control cumbersome. Use the current playbackManager player as a fallback and set this.player on playerchange before emitting the first update to restore correct isLocalPlayer reporting.

Issues
Fixes: jellyfin/jellyfin-android#1745
Fixes: jellyfin/jellyfin-android#1854

PlaybackSubscriber was firing media session updates before rebinding
the new player, so the initial payload sent `isLocalPlayer: false`
(player undefined) to NativeShell. Android then assumed remote playback and
showed the cast/remote volume rocker instead of the phone’s local volume,
making volume control cumbersome. Use the current playbackManager player as a
fallback and set `this.player` on playerchange before emitting the first
update to restore correct isLocalPlayer reporting.

Fixes: jellyfin/jellyfin-android#1745
Fixes: jellyfin/jellyfin-android#1854
@sildur sildur requested a review from a team as a code owner November 29, 2025 16:13
@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Nov 29, 2025

Cloudflare Pages deployment

Latest commit a3ae040
Status ✅ Deployed!
Preview URL https://a39df7ec.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

volume rocker thinks phone is casting Changing volume from device changes cast volume, although device is not casting

2 participants