Merge f0417bd9e83c65a948df3d22e757513ea8c76045 into be201a2d7972d9580bef5533bfcb8bc49a2675d2

This commit is contained in:
Eivind Siqveland Larsen 2026-10-15 14:15:52 -07:00 committed by GitHub
commit ed6fb21f76
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 {