You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
588 B
28 lines
588 B
using System;
|
|
using System.Linq;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Entities.Audio
|
|
{
|
|
/// <summary>
|
|
/// Class MusicArtist
|
|
/// </summary>
|
|
public class MusicArtist : Folder
|
|
{
|
|
public override List<string> Genres
|
|
{
|
|
get
|
|
{
|
|
return Children
|
|
.SelectMany(i => i.Genres)
|
|
.Distinct(StringComparer.OrdinalIgnoreCase)
|
|
.ToList();
|
|
}
|
|
set
|
|
{
|
|
base.Genres = value;
|
|
}
|
|
}
|
|
}
|
|
}
|