Skip to content

Add Fire OS voice command permission for MediaSession - #2076

Merged
damontecres merged 2 commits into
damontecres:mainfrom
mirimsees:fix/firetv-voice-media-session
Oct 26, 2026
Merged

damontecres merged 2 commits into
damontecres:mainfrom
mirimsees:fix/firetv-voice-media-session

Conversation

@mirimsees

Copy link
Copy Markdown
Contributor

Description

Just a small change to AndroidManifest.xml so that Alexa voice commands work in Wholphin.

"To enable voice command and control to work with your application, add the permission com.amazon.permission.media.session.voicecommandcontrol to your application manifest"
See https://developer.amazon.com/docs/fire-tv/mediasession-api-integration.html

This is required only for Fire OS <14.

Related issues

I couldn't find any related issues.

Steps to reproduce: Start some media -> Tell Alexa to pause/play ("Alexa, pause", "Alexa, play")
Expected behavior: Media pauses/resumes almost immediately.
Actual behavior: Pausing takes ~10 seconds, resuming doesn't work at all
Environment:

  • FireTV Cube Gen 3 running Fire OS 7.7.1.7 (PS7717/5741)
  • Wholphin 1.0.9-0-g2d87d526
  • Jellyfin server 12.2

Testing

See environment above.
After the change pause/play works immediately.

Screenshots

AI or LLM usage

I used Claude to analyze the issue and Claude Code to build a debug app for testing.

Fire OS versions before 14 require the
com.amazon.permission.media.session.voicecommandcontrol permission for
Alexa voice commands (e.g. "Alexa, pause", "Alexa, play") to be routed
to the app's MediaSession. Without it, "Alexa, play" did not work and
"Alexa, pause" only took effect after a long delay on a Fire TV Cube.

See https://developer.amazon.com/docs/fire-tv/mediasession-api-integration.html

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@damontecres damontecres added the enhancement New feature or request label Oct 26, 2026
@damontecres damontecres added this to the Next minor release milestone Oct 26, 2026

@damontecres damontecres left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the contribution! Looks good

I added a change to the play store manifest to remove the permission since it's not needed there. And while double checking the manifests, I found that the fire tv store manifest still requests the install permissions, so I've removed that (and kept the new voice permission of course).

@damontecres
damontecres merged commit 962a14d into damontecres:main Oct 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants