diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-13 13:25:28 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-13 13:25:28 -0400 |
| commit | 96ec4cef77d98b0cad42a7b105e025df3543784d (patch) | |
| tree | 9048aadbed8dcfebb3affefffdf9bf29a0ae10c5 /MediaBrowser.Api/SearchService.cs | |
| parent | a92723fde3fc44410c782ee93d36c749ae8d6f82 (diff) | |
add ArtistItems to api output
Diffstat (limited to 'MediaBrowser.Api/SearchService.cs')
| -rw-r--r-- | MediaBrowser.Api/SearchService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/SearchService.cs b/MediaBrowser.Api/SearchService.cs index ee48946d5..2cca72593 100644 --- a/MediaBrowser.Api/SearchService.cs +++ b/MediaBrowser.Api/SearchService.cs @@ -211,7 +211,7 @@ namespace MediaBrowser.Api result.SongCount = album.Tracks.Count(); result.Artists = album.Artists.ToArray(); - result.AlbumArtist = album.AlbumArtists.FirstOrDefault(); + result.AlbumArtist = album.AlbumArtist; } var song = item as Audio; |
