search hint fixes

This commit is contained in:
Luke Pulverenti 2013-04-27 10:00:22 -04:00
parent 40c2b73d63
commit 4c55c0f0d8

View File

@ -150,6 +150,20 @@ namespace MediaBrowser.Controller.Entities.Audio
return RecursiveChildren.OfType<Audio>().Any(i => i.HasArtist(artist));
}
public override string Name
{
get
{
var song = RecursiveChildren.OfType<Audio>().FirstOrDefault(i => !string.IsNullOrEmpty(i.Album));
return song == null ? base.Name : song.Album;
}
set
{
base.Name = value;
}
}
public override string DisplayMediaType
{
get