This commit is contained in:
Eivind Siqveland Larsen 2025-03-30 20:15:51 -07:00 committed by GitHub
commit deb3ec2fc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -193,6 +193,9 @@ func childFromMediaFile(ctx context.Context, mf model.MediaFile) responses.Child
child.Created = &mf.BirthTime
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 {