Merge f0417bd9e83c65a948df3d22e757513ea8c76045 into 59448e928351f5afd08ee3ce86fa46b081128c0f

This commit is contained in:
Eivind Siqveland Larsen 2026-08-30 05:06:25 +05:30 committed by GitHub
commit 740d8510cc
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 {