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

Fix URI passed to ContentProvider #803

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

puff
Copy link

@puff puff commented Jul 2, 2024

Fixes an issue where artwork doesn't display in the media notification or android auto/automotive if the server uses a port number.

The issue was the port number wasn't removed from the URI when passing to the ContentProvider, so it wasn't able to find it.
image
Additionally, the ContentProvider would encode the URI's authority (breaking the URL) unless we set the encoded authority directly.

@jmshrv
Copy link
Owner

jmshrv commented Jul 18, 2024

Thanks for this, merging :)

@jmshrv jmshrv merged commit 1ccc169 into jmshrv:redesign Jul 18, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants