mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
Compare commits
2 Commits
1146cfe0af
...
8ecb37e53b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ecb37e53b | ||
|
|
f0417bd9e8 |
@ -218,6 +218,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