diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-23 12:05:19 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-23 12:05:19 -0400 |
| commit | 0727475abfff42e32626d2def071a189168e7da1 (patch) | |
| tree | e2a486f33beb0bd49b293234f1b7b2c2c0223415 /MediaBrowser.Server.Implementations/Library/LibraryManager.cs | |
| parent | eba1845f2a16dfbabdd009b0dc771183c9ffba76 (diff) | |
update translations
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index 521a6f843..64e0a6662 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -1480,18 +1480,7 @@ namespace MediaBrowser.Server.Implementations.Library { return items .OfType<Audio>() - .SelectMany(i => - { - var list = new List<string>(); - - if (!string.IsNullOrEmpty(i.AlbumArtist)) - { - list.Add(i.AlbumArtist); - } - list.AddRange(i.Artists); - - return list; - }) + .SelectMany(i => i.AllArtists) .Distinct(StringComparer.OrdinalIgnoreCase); } |
