jellyfin-server/MediaBrowser.Controller/Entities/Audio/MusicArtist.cs
2013-05-28 21:44:12 -04:00

28 lines
588 B
C#

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;
}
}
}
}