🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Include tracks in TopSongs where the requested artist is the album artist
Deluan53c1e9ec3511
diff --git a/core/external_info.go b/core/external_info.goindex 32bd4fe25..833adb832 100644--- a/core/external_info.go+++ b/core/external_info.go@@ -151,7 +151,10 @@ func (e *externalInfo) TopSongs(ctx context.Context, artist string, count int) (for _, t := range tracks {mfs, err := e.ds.MediaFile(ctx).GetAll(model.QueryOptions{Filters: squirrel.And{- squirrel.Like{"artist": artist},+ squirrel.Or{+ squirrel.Like{"artist": artist},+ squirrel.Like{"album_artist": artist},+ },squirrel.Like{"title": t.Name},},Sort: "year",