AlbumInfo.cs 917 B

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