mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-06 22:17:37 +03:00
GetStarred now returns starred songs
This commit is contained in:
parent
1ed8c60130
commit
d59394c653
5 changed files with 34 additions and 3 deletions
|
@ -99,3 +99,11 @@ func FromAlbums(albums domain.Albums) Entries {
|
|||
}
|
||||
return entries
|
||||
}
|
||||
|
||||
func FromMediaFiles(mfs domain.MediaFiles) Entries {
|
||||
entries := make(Entries, len(mfs))
|
||||
for i, mf := range mfs {
|
||||
entries[i] = FromMediaFile(&mf)
|
||||
}
|
||||
return entries
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue