2018-09-12 17:26:21 +00:00
|
|
|
namespace Emby.Naming.TV
|
|
|
|
{
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Holder object for Episode information.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public class EpisodeInfo
|
|
|
|
{
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="EpisodeInfo"/> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">Path to the file.</param>
|
2020-11-01 09:47:31 +00:00
|
|
|
public EpisodeInfo(string path)
|
|
|
|
{
|
|
|
|
Path = path;
|
|
|
|
}
|
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the path.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The path.</value>
|
|
|
|
public string Path { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the container.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The container.</value>
|
2020-11-01 09:47:31 +00:00
|
|
|
public string? Container { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the series.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name of the series.</value>
|
2020-11-01 09:47:31 +00:00
|
|
|
public string? SeriesName { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the format3 d.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The format3 d.</value>
|
2020-11-01 09:47:31 +00:00
|
|
|
public string? Format3D { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether [is3 d].
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool Is3D { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is stub.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is stub; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsStub { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the type of the stub.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The type of the stub.</value>
|
2020-11-01 09:47:31 +00:00
|
|
|
public string? StubType { get; set; }
|
2018-09-12 17:26:21 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional season number.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public int? SeasonNumber { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional episode number.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public int? EpisodeNumber { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional ending episode number. For multi-episode files 1-13.
|
|
|
|
/// </summary>
|
2020-11-01 10:19:22 +00:00
|
|
|
public int? EndingEpisodeNumber { get; set; }
|
2018-09-12 17:26:21 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional year of release.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public int? Year { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional year of release.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public int? Month { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets optional day of release.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public int? Day { get; set; }
|
2019-05-10 18:37:42 +00:00
|
|
|
|
2020-11-10 16:11:48 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether by date expression was used.
|
|
|
|
/// </summary>
|
2018-09-12 17:26:21 +00:00
|
|
|
public bool IsByDate { get; set; }
|
|
|
|
}
|
|
|
|
}
|