2018-09-12 13:26:21 -04:00
|
|
|
namespace Emby.Naming.TV
|
|
|
|
{
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Holder object for <see cref="EpisodePathParser"/> result.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public class EpisodePathParserResult
|
|
|
|
{
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional season number.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public int? SeasonNumber { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional episode number.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public int? EpisodeNumber { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional ending episode number. For multi-episode files 1-13.
|
|
|
|
/// </summary>
|
2020-11-01 05:19:22 -05:00
|
|
|
public int? EndingEpisodeNumber { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the series.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name of the series.</value>
|
2020-11-01 04:47:31 -05:00
|
|
|
public string? SeriesName { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether parsing was successful.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public bool Success { get; set; }
|
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether by date expression was used.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public bool IsByDate { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional year of release.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public int? Year { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional year of release.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public int? Month { get; set; }
|
2019-05-10 14:37:42 -04:00
|
|
|
|
2020-11-10 11:11:48 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional day of release.
|
|
|
|
/// </summary>
|
2018-09-12 13:26:21 -04:00
|
|
|
public int? Day { get; set; }
|
|
|
|
}
|
|
|
|
}
|