ItemLookupInfo.cs 1.6 KB

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