ItemLookupInfo.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #nullable disable
  2. #pragma warning disable CA2227, 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. public ItemLookupInfo()
  11. {
  12. IsAutomated = true;
  13. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  14. }
  15. /// <summary>
  16. /// Gets or sets the name.
  17. /// </summary>
  18. /// <value>The name.</value>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// Gets or sets the original title.
  22. /// </summary>
  23. /// <value>The original title of the item.</value>
  24. public string OriginalTitle { get; set; }
  25. /// <summary>
  26. /// Gets or sets the path.
  27. /// </summary>
  28. /// <value>The path.</value>
  29. public string Path { get; set; }
  30. /// <summary>
  31. /// Gets or sets the metadata language.
  32. /// </summary>
  33. /// <value>The metadata language.</value>
  34. public string MetadataLanguage { get; set; }
  35. /// <summary>
  36. /// Gets or sets the metadata country code.
  37. /// </summary>
  38. /// <value>The metadata country code.</value>
  39. public string MetadataCountryCode { get; set; }
  40. /// <summary>
  41. /// Gets or sets the provider ids.
  42. /// </summary>
  43. /// <value>The provider ids.</value>
  44. public Dictionary<string, string> ProviderIds { get; set; }
  45. /// <summary>
  46. /// Gets or sets the year.
  47. /// </summary>
  48. /// <value>The year.</value>
  49. public int? Year { get; set; }
  50. public int? IndexNumber { get; set; }
  51. public int? ParentIndexNumber { get; set; }
  52. public DateTime? PremiereDate { get; set; }
  53. public bool IsAutomated { get; set; }
  54. }
  55. }