fix(server): try to find proper embedded front cover - only for vorbis comments for now (#3348)

* fix(artwork): get the first image from vorbis comments, not the last. fixes #3254

This uses a fork for now.

* fix(artwork): prioritize getting embedded types that are listed as "front" covers

* fix: cleanup
This commit is contained in:
Deluan Quintão 2024-10-27 21:59:22 -04:00 committed by GitHub
parent fcb5e1b806
commit 3fda7445b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 39 additions and 7 deletions

3
go.mod
View file

@ -2,6 +2,9 @@ module github.com/navidrome/navidrome
go 1.23.2
// Fork to fix https://github.com/navidrome/navidrome/pull/3254
replace github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8 => github.com/deluan/tag v0.0.0-20241002021117-dfe5e6ea396d
require (
github.com/Masterminds/squirrel v1.5.4
github.com/RaveNoX/go-jsoncommentstrip v1.0.0