ItemLookupInfo.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using MediaBrowser.Model.Entities;
  6. namespace MediaBrowser.Controller.Providers
  7. {
  8. public class ItemLookupInfo : IHasProviderIds
  9. {
  10. /// <summary>
  11. /// Gets or sets the name.
  12. /// </summary>
  13. /// <value>The name.</value>
  14. public string Name { get; set; }
  15. /// <summary>
  16. /// Gets or sets the path.
  17. /// </summary>
  18. /// <value>The path.</value>
  19. public string Path { get; set; }
  20. /// <summary>
  21. /// Gets or sets the metadata language.
  22. /// </summary>
  23. /// <value>The metadata language.</value>
  24. public string MetadataLanguage { get; set; }
  25. /// <summary>
  26. /// Gets or sets the metadata country code.
  27. /// </summary>
  28. /// <value>The metadata country code.</value>
  29. public string MetadataCountryCode { get; set; }
  30. /// <summary>
  31. /// Gets or sets the provider ids.
  32. /// </summary>
  33. /// <value>The provider ids.</value>
  34. public Dictionary<string, string> ProviderIds { get; set; }
  35. /// <summary>
  36. /// Gets or sets the year.
  37. /// </summary>
  38. /// <value>The year.</value>
  39. public int? Year { get; set; }
  40. public int? IndexNumber { get; set; }
  41. public int? ParentIndexNumber { get; set; }
  42. public DateTime? PremiereDate { get; set; }
  43. public bool IsAutomated { get; set; }
  44. public ItemLookupInfo()
  45. {
  46. IsAutomated = true;
  47. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  48. }
  49. }
  50. }