This commit is contained in:
Eivind Siqveland Larsen 2026-10-08 01:30:38 +08:00 • committed by GitHub
commit 1fa1198c33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {