mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
27 lines
588 B
C#
27 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;
|
|
}
|
|
}
|
|
}
|
|
}
|