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