mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 06:18:28 +01:00
add ArtistItems to api output
This commit is contained in:
@@ -34,7 +34,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
var genres = user.RootFolder
|
||||
.GetRecursiveChildren(user, i => i is Audio)
|
||||
.Cast<Audio>()
|
||||
.Where(i => i.HasArtist(name))
|
||||
.Where(i => i.HasAnyArtist(name))
|
||||
.SelectMany(i => i.Genres)
|
||||
.Concat(artist.Genres)
|
||||
.Distinct(StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
Reference in New Issue
Block a user