AlbumInfo.cs 901 B

12345678910111213141516171819202122232425262728293031
  1. #pragma warning disable CS1591
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.Providers
  5. {
  6. public class AlbumInfo : ItemLookupInfo
  7. {
  8. /// <summary>
  9. /// Gets or sets the album artist.
  10. /// </summary>
  11. /// <value>The album artist.</value>
  12. public IReadOnlyList<string> AlbumArtists { get; set; }
  13. /// <summary>
  14. /// Gets or sets the artist provider ids.
  15. /// </summary>
  16. /// <value>The artist provider ids.</value>
  17. public Dictionary<string, string> ArtistProviderIds { get; set; }
  18. public List<SongInfo> SongInfos { get; set; }
  19. public AlbumInfo()
  20. {
  21. ArtistProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  22. SongInfos = new List<SongInfo>();
  23. AlbumArtists = Array.Empty<string>();
  24. }
  25. }
  26. }