audio page progress

This commit is contained in:
Luke Pulverenti
2013-04-22 23:56:11 -04:00
parent 9553542875
commit 4a100452cf
14 changed files with 40 additions and 69 deletions

View File

@@ -32,7 +32,12 @@ namespace MediaBrowser.Server.Implementations.Sorting
{
var audio = x as Audio;
return audio == null ? string.Empty : audio.Artists.OrderBy(i => i).FirstOrDefault() ?? string.Empty;
if (audio == null)
{
return string.Empty;
}
return audio.Artist ?? string.Empty;
}
/// <summary>