diff --git a/server/subsonic/helpers.go b/server/subsonic/helpers.go index e367cdee5..d4d1dec15 100644 --- a/server/subsonic/helpers.go +++ b/server/subsonic/helpers.go @@ -233,6 +233,9 @@ func childFromMediaFile(ctx context.Context, mf model.MediaFile) responses.Child child.Created = new(mediaFileCreatedAt(mf)) child.AlbumId = mf.AlbumID child.ArtistId = mf.ArtistID + if child.ArtistId == "" { + child.ArtistId = mf.AlbumArtistID + } child.Type = "music" child.PlayCount = mf.PlayCount if mf.Starred {