EpisodeInfo.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. namespace Emby.Naming.TV
  2. {
  3. /// <summary>
  4. /// Holder object for Episode information.
  5. /// </summary>
  6. public class EpisodeInfo
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="EpisodeInfo"/> class.
  10. /// </summary>
  11. /// <param name="path">Path to the file.</param>
  12. public EpisodeInfo(string path)
  13. {
  14. Path = path;
  15. }
  16. /// <summary>
  17. /// Gets or sets the path.
  18. /// </summary>
  19. /// <value>The path.</value>
  20. public string Path { get; set; }
  21. /// <summary>
  22. /// Gets or sets the container.
  23. /// </summary>
  24. /// <value>The container.</value>
  25. public string? Container { get; set; }
  26. /// <summary>
  27. /// Gets or sets the name of the series.
  28. /// </summary>
  29. /// <value>The name of the series.</value>
  30. public string? SeriesName { get; set; }
  31. /// <summary>
  32. /// Gets or sets the format3 d.
  33. /// </summary>
  34. /// <value>The format3 d.</value>
  35. public string? Format3D { get; set; }
  36. /// <summary>
  37. /// Gets or sets a value indicating whether [is3 d].
  38. /// </summary>
  39. /// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
  40. public bool Is3D { get; set; }
  41. /// <summary>
  42. /// Gets or sets a value indicating whether this instance is stub.
  43. /// </summary>
  44. /// <value><c>true</c> if this instance is stub; otherwise, <c>false</c>.</value>
  45. public bool IsStub { get; set; }
  46. /// <summary>
  47. /// Gets or sets the type of the stub.
  48. /// </summary>
  49. /// <value>The type of the stub.</value>
  50. public string? StubType { get; set; }
  51. /// <summary>
  52. /// Gets or sets optional season number.
  53. /// </summary>
  54. public int? SeasonNumber { get; set; }
  55. /// <summary>
  56. /// Gets or sets optional episode number.
  57. /// </summary>
  58. public int? EpisodeNumber { get; set; }
  59. /// <summary>
  60. /// Gets or sets optional ending episode number. For multi-episode files 1-13.
  61. /// </summary>
  62. public int? EndingEpisodeNumber { get; set; }
  63. /// <summary>
  64. /// Gets or sets optional year of release.
  65. /// </summary>
  66. public int? Year { get; set; }
  67. /// <summary>
  68. /// Gets or sets optional year of release.
  69. /// </summary>
  70. public int? Month { get; set; }
  71. /// <summary>
  72. /// Gets or sets optional day of release.
  73. /// </summary>
  74. public int? Day { get; set; }
  75. /// <summary>
  76. /// Gets or sets a value indicating whether by date expression was used.
  77. /// </summary>
  78. public bool IsByDate { get; set; }
  79. }
  80. }