feat(listenbrainz): expose Name on SimilarArtist for M5c suggestions

This commit is contained in:
2026-05-01 05:51:29 -04:00
parent 2ca09749d9
commit be23ae488d
+3
View File
@@ -239,8 +239,11 @@ func (c *Client) SimilarRecordings(ctx context.Context, mbid string, limit int)
const lbSimilarArtistsAlgorithm = "session_based_days_7500_session_30_contribution_5_threshold_15_limit_100_filter_True_skip_30"
// SimilarArtist is one entry in the /explore/similar-artists response.
// Name is captured from the LB payload so M5c can render the artist's
// name on out-of-library suggestions without an extra MusicBrainz lookup.
type SimilarArtist struct {
MBID string `json:"artist_mbid"`
Name string `json:"name"`
Score float64 `json:"score"`
}