androidx / androidx/media

Next and Prev buttons in Google Home are disabled when casting using RemotePlayer

Open
#3,086 0 comments 0 reactions 2 assignees View on GitHub

@tanay187 is already working on this.

Since Aug 14, 2026.

bug needs triage
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 1.9.0

More version details

No response

Devices that reproduce the issue

Pixel 7a running API 36. Also Android Studio emulators running API 23 or API 36.

Devices that do not reproduce the issue

Have not found any

Reproducible in the demo app?

Yes

Reproduction steps
  1. Run the demo-session app from the Media3 demo suite
  2. Click on "Artist".
  3. Click on "Kai Engel". Any other would also show the problem.
  4. Click on Cast button at bottom-right of screen and start a cast session to a device (I use a Google Nest Mini).
  5. Click on PLAY. Playback commences on the chosen device and will continue automatically through each of the 8 tracks.
  6. Using another device on the same network, run the Google Home app and inspect the playback state for the cast session you have just started.
Expected result

While the first MediaItem is playing the Prev button should be disabled and the Next button should be enabled. On items 2 to 7 both buttons should be enabled. On the final item only the Prev button should be enabled.

Actual result

The Prev and Next buttons are both disabled no matter what track is playing. Note that at the same time the playback notification in the device under test does enable its buttons appropriately. Note also that other apps including "YT Music" and "NPR" do exhibit the expected behaviour when viewed from Google Home.

Media

Not applicable. The demo-session app supplies its own media. Also with my own app, which is too complex to share here, the problem is visible with a variety of playlists.

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.