EpisodePathParserResult.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. namespace Emby.Naming.TV
  2. {
  3. /// <summary>
  4. /// Holder object for <see cref="EpisodePathParser"/> result.
  5. /// </summary>
  6. public class EpisodePathParserResult
  7. {
  8. /// <summary>
  9. /// Gets or sets optional season number.
  10. /// </summary>
  11. public int? SeasonNumber { get; set; }
  12. /// <summary>
  13. /// Gets or sets optional episode number.
  14. /// </summary>
  15. public int? EpisodeNumber { get; set; }
  16. /// <summary>
  17. /// Gets or sets optional ending episode number. For multi-episode files 1-13.
  18. /// </summary>
  19. public int? EndingEpisodeNumber { get; set; }
  20. /// <summary>
  21. /// Gets or sets the name of the series.
  22. /// </summary>
  23. /// <value>The name of the series.</value>
  24. public string? SeriesName { get; set; }
  25. /// <summary>
  26. /// Gets or sets a value indicating whether parsing was successful.
  27. /// </summary>
  28. public bool Success { get; set; }
  29. /// <summary>
  30. /// Gets or sets a value indicating whether by date expression was used.
  31. /// </summary>
  32. public bool IsByDate { get; set; }
  33. /// <summary>
  34. /// Gets or sets optional year of release.
  35. /// </summary>
  36. public int? Year { get; set; }
  37. /// <summary>
  38. /// Gets or sets optional year of release.
  39. /// </summary>
  40. public int? Month { get; set; }
  41. /// <summary>
  42. /// Gets or sets optional day of release.
  43. /// </summary>
  44. public int? Day { get; set; }
  45. }
  46. }