feat(subsonic): artist pictures in Subsonic apps
release / go (push) Successful in 1m47s
release / web (push) Successful in 1m10s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m3s
release / android (push) Successful in 4m27s
release / Build signed APK (push) Successful in 5m2s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 17s
release / Verify release artifacts (tag releases only) (push) Skipped

getCoverArt now answers an artist's id: the artist picture Minstrel
fetched, when its file is there, or else the cover of the artist's most
recently added album that has one, which is what Minstrel's own artist
cards show. Every artist entry carries its id as coverArt, so apps ask.

The lookup is coverart.ResolveArtistPath, beside the album one, and looks
through at most ten of an artist's albums for a cover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 18:20:30 -05:00
co-authored by Claude Opus 5.5
parent 6dfa7b25fb
commit 1965e82013
6 changed files with 149 additions and 17 deletions
+1
View File
@@ -148,6 +148,7 @@ func (b *browseHandlers) getArtist(w http.ResponseWriter, r *http.Request) {
Artist: ArtistDetail{
ID: uuidToID(artist.ID),
Name: artist.Name,
CoverArt: uuidToID(artist.ID),
AlbumCount: len(albums),
Albums: refs,
},