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

Is there a way to use artwork from within the app bundle for the metadata? #28

Open
sirgatsen opened this issue May 5, 2024 · 2 comments

Comments

@sirgatsen
Copy link

I am trying to use artwork that is stored within the app bundle at assets/img/artwork.png and I am not sure if this is supported or not and if it is how do I format that path to the artwork?

PS: I tried just passing in assets/img/artwork.png and it isn't working, I also tried http://localhost/assets/img/artwork.png and it either didn't work or maybe crashed

@waltercruz
Copy link

From the code on MediaSessionPlugin.java, it's seems possible to pass a value in the format data:image/png;base64 in the url parameter (not tested)

@sirgatsen
Copy link
Author

Thank you sir, I was able to use a base64 string successfully!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants