androidx / androidx/media

Shuffle play is buggy when shufflePlay is enabled before addition of mediaitems

Open
#273 6 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Mar 16, 2023.

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

Description

Media3 Version

1.0.0-rc02

Devices that reproduce the issue

Pixel 3

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps
  1. addMediaItems to controller
  2. setPlayWhenReady = true
  3. prepare
  4. They will start playing
  5. Wait for playback to finish
  6. Playbackstate is now 4
  7. addMediaItems once more
  8. setPlayWhenReady = true
  9. prepare
  10. They don't play
Expected result

It plays each time

Actual result

--

Media

--

Bug Report
  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.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.