jellyfin/Emby.Naming/TV/EpisodeInfo.cs

69 lines
1.8 KiB
C#
Raw Normal View History

#pragma warning disable CS1591
2018-09-12 10:26:21 -07:00
namespace Emby.Naming.TV
{
public class EpisodeInfo
{
2020-11-01 02:47:31 -07:00
public EpisodeInfo(string path)
{
Path = path;
}
2018-09-12 10:26:21 -07:00
/// <summary>
/// Gets or sets the path.
/// </summary>
/// <value>The path.</value>
public string Path { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
/// <summary>
/// Gets or sets the container.
/// </summary>
/// <value>The container.</value>
2020-11-01 02:47:31 -07:00
public string? Container { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -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
2018-09-12 10:26:21 -07:00
/// <summary>
/// Gets or sets the format3 d.
/// </summary>
/// <value>The format3 d.</value>
2020-11-01 02:47:31 -07:00
public string? Format3D { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07: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 11:37:42 -07:00
2018-09-12 10:26:21 -07: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 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
/// <summary>
/// Gets or sets the type of the stub.
/// </summary>
/// <value>The type of the stub.</value>
2020-11-01 02:47:31 -07:00
public string? StubType { get; set; }
2018-09-12 10:26:21 -07:00
public int? SeasonNumber { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
public int? EpisodeNumber { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
public int? EndingEpsiodeNumber { get; set; }
public int? Year { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
public int? Month { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
public int? Day { get; set; }
2019-05-10 11:37:42 -07:00
2018-09-12 10:26:21 -07:00
public bool IsByDate { get; set; }
}
}