jellyfin-server/MediaBrowser.Controller/Entities/Audio/MusicArtist.cs

28 lines
588 B
C#
Raw Normal View History

2013-05-29 01:44:12 +00:00
using System;
using System.Linq;
using System.Collections.Generic;
2013-02-21 01:33:05 +00:00
namespace MediaBrowser.Controller.Entities.Audio
{
/// <summary>
/// Class MusicArtist
/// </summary>
public class MusicArtist : Folder
{
2013-05-29 01:44:12 +00:00
public override List<string> Genres
{
get
{
return Children
.SelectMany(i => i.Genres)
.Distinct(StringComparer.OrdinalIgnoreCase)
.ToList();
}
set
{
base.Genres = value;
}
}
2013-02-21 01:33:05 +00:00
}
}