aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-05 15:00:50 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-05 15:00:50 -0400
commit44b12c0f9fc81dd10d6f655f341d7df28c5f3e20 (patch)
tree520179e21ec80e988e44407b06c2f22f040d9903 /MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs
parentcbf061d5f62a98a977d192bb0117f6c21be7e808 (diff)
fixes #520 - Support multiple artists per audio track
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs b/MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs
index b0a6989e9..e3de0df28 100644
--- a/MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs
+++ b/MediaBrowser.Server.Implementations/Sorting/ArtistComparer.cs
@@ -37,7 +37,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
return string.Empty;
}
- return audio.Artist ?? string.Empty;
+ return audio.Artists.FirstOrDefault() ?? string.Empty;
}
/// <summary>