mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
fixes #857 - Support album subfolders
This commit is contained in:
@@ -71,6 +71,23 @@ namespace MediaBrowser.Controller.Entities.Audio
|
||||
/// <value>The tags.</value>
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the tracks.
|
||||
/// </summary>
|
||||
/// <value>The tracks.</value>
|
||||
public IEnumerable<Audio> Tracks
|
||||
{
|
||||
get
|
||||
{
|
||||
return RecursiveChildren.OfType<Audio>();
|
||||
}
|
||||
}
|
||||
|
||||
protected override IEnumerable<BaseItem> GetEligibleChildrenForRecursiveChildren(User user)
|
||||
{
|
||||
return Tracks;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Songs will group into us so don't also include us in the index
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user