-
Notifications
You must be signed in to change notification settings - Fork 749
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
- Run the demo-session app from the Media3 demo suite
- Click on "Artist".
- Click on "Kai Engel". Any other would also show the problem.
- Click on Cast button at bottom-right of screen and start a cast session to a device (I use a Google Nest Mini).
- Click on PLAY. Playback commences on the chosen device and will continue automatically through each of the 8 tracks.
- 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 bugreportto android-media-github@google.com after filing this issue.