AlbumInfo.cs 869 B

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