How to update the metadata for a currentMediaItem with CastPlayer
Open
@tonihei is already working on this.
Since Jun 28, 2024.
enhancement
low priority
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
I am working with an audio streaming app.
I have a ReplaceableForwardingPlayer like in the UAMP project.
The forwardingplayer switches between an ExoPlayer and a CastPlayer.
I need to control and change the metadata for a mediaItem.
With the Exoplayer I can just replaceMediaItem(...) and it updates the metadata seamlessly:
With the CastPlayer this is not the case. It reloads the entire mediaItem.
Is there a way to update the metadata on a CastPlayer?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.