jellyfin-server/MediaBrowser.Controller/Providers/AlbumInfo.cs

29 lines
868 B
C#
Raw Normal View History

2018-12-27 23:27:57 +00:00
using System;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Providers
{
public class AlbumInfo : ItemLookupInfo
{
/// <summary>
/// Gets or sets the album artist.
/// </summary>
/// <value>The album artist.</value>
2019-08-29 20:28:33 +00:00
public IReadOnlyList<string> AlbumArtists { get; set; }
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the artist provider ids.
/// </summary>
/// <value>The artist provider ids.</value>
public Dictionary<string, string> ArtistProviderIds { get; set; }
public List<SongInfo> SongInfos { get; set; }
public AlbumInfo()
{
ArtistProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
SongInfos = new List<SongInfo>();
2018-12-27 21:43:48 +00:00
AlbumArtists = Array.Empty<string>();
2018-12-27 23:27:57 +00:00
}
}
2018-12-27 21:43:48 +00:00
}