Merge f0417bd9e83c65a948df3d22e757513ea8c76045 into f939ad84f308692134206e4226d23bf401720635

This commit is contained in:
Eivind Siqveland Larsen 2025-11-12 16:28:19 -05:00 committed by GitHub
commit c347ed2316
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 {