Skip to content

fix(ui): coverArt filetype generalized, added support for png,webp#113

Merged
MattiaPun merged 1 commit into
MattiaPun:mainfrom
aaron-r-campbell:fix/cover-art
Apr 18, 2026
Merged

fix(ui): coverArt filetype generalized, added support for png,webp#113
MattiaPun merged 1 commit into
MattiaPun:mainfrom
aaron-r-campbell:fix/cover-art

Conversation

@aaron-r-campbell
Copy link
Copy Markdown
Contributor

Changes

  • jpeg.Decode -> image.Decode
  • added dependencies: image, image/png, golang.org/x/image/webp

Explanation

Fixes a bug I was having similar to #111 where navidrome was sending webp coverArt which couldn't be decoded with image/jpeg. Now using the more general image.Decode and loading webp, png, jpeg dependencies to support these filetypes.

@MattiaPun MattiaPun merged commit 91d3375 into MattiaPun:main Apr 18, 2026
1 check passed
@MattiaPun
Copy link
Copy Markdown
Owner

Hi, thank you for this PR and help tackling the related issue. I have merged it and will be available in the next release

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