mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
Merge f0417bd9e83c65a948df3d22e757513ea8c76045 into 59448e928351f5afd08ee3ce86fa46b081128c0f
This commit is contained in:
commit
740d8510cc
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user