mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
Merge f0417bd9e83c65a948df3d22e757513ea8c76045 into 131c0c565cfd2f5c11939e05621cd4a671ec7ecb
This commit is contained in:
commit
5a3d4f99ea
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user