Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaMetaData returns null values if player is set to Player.REPEAT_MODE_ONE (Same as Legacy issue #9458 at ExoPlayer repository) #1007

Closed
1 task done
amirkazemzade opened this issue Jan 20, 2024 · 1 comment
Assignees
Labels

Comments

@amirkazemzade
Copy link

Version

Media3 1.2.1

More version details

No response

Devices that reproduce the issue

AVD Pixel 8 Pro API 34
AVD Pixel 8 Pro API 33
AVD Pixel 3a API 28
Galaxy A50 with Android 11

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

  1. Open PlayerActivity at androidx/media3/demo/main/PlayerActivity.java
  2. Add player.setRepeatMode(Player.REPEAT_MODE_ONE); after player = playerBuilder.build(); at line 279
  3. Build and run the demo app
  4. Go down to Misc list
  5. Press Google Play (MP3) to play
  6. Seek the seek-bar to the almost end of it ( for example at the 00:56 )
  7. Let the playback continue to end the current item and then repeat the playback.

Expected result

The artwork picture of the item remains the same.

Actual result

The artwork disappears. As I inspected in debug mode, all metadata values but the title are null in the second playback.

Media

video_2024-01-20_10-59-33.mp4

Bug Report

@tonihei
Copy link
Collaborator

tonihei commented Jan 22, 2024

Thanks for reporting! We'll fix that (again) for the upcoming 1.3.0 release.

@tonihei tonihei self-assigned this Jan 22, 2024
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
Issue: #1007

#minor-release

PiperOrigin-RevId: 600477540
copybara-service bot pushed a commit to google/ExoPlayer that referenced this issue Jan 22, 2024
Issue: androidx/media#1007

#minor-release

PiperOrigin-RevId: 600477540
SheenaChhabra pushed a commit that referenced this issue Jan 25, 2024
Issue: #1007

#minor-release

PiperOrigin-RevId: 600477540
(cherry picked from commit c6bf380)
@tonihei tonihei closed this as completed Feb 5, 2024
@androidx androidx locked and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants