mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Merge f0417bd9e83c65a948df3d22e757513ea8c76045 into 2a43c4683ea41492a6ad8c6b22af9a1f7eacb1e9
This commit is contained in:
commit
3a8d5d371c
@ -219,6 +219,9 @@ func childFromMediaFile(ctx context.Context, mf model.MediaFile) responses.Child
|
||||
child.Created = new(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