mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
search hint fixes
This commit is contained in:
parent
40c2b73d63
commit
4c55c0f0d8
@ -150,6 +150,20 @@ namespace MediaBrowser.Controller.Entities.Audio
|
|||||||
return RecursiveChildren.OfType<Audio>().Any(i => i.HasArtist(artist));
|
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
|
public override string DisplayMediaType
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
Loading…
x
Reference in New Issue
Block a user