-
Notifications
You must be signed in to change notification settings - Fork 379
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
How to update the metadata for a currentMediaItem with CastPlayer #1508
Comments
This is not seamlessly supported on CastPlayer at the moment. I can mark it as a feature request but we won't get around to work on it soon. If you want to add support, I think you can amend |
Thanks for the quick reply. For anyone else how has this problem,- I made it work by making a copy of the CastPlayer class and changing the empty method
to
This depend on the cast-recevier doing the metadata changes to the MediaQueueItem. |
If you already figured out how to improve this, do you want to upload a PR instead to merge it into our codebase? If not, we can make the same change ourselves too. |
Sure. I'll make a pr. |
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?
The text was updated successfully, but these errors were encountered: