aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/TV/EpisodeInfo.cs
blob: a8920b36aefe7629a05efa9a1c0d80ea6544a5f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
namespace Emby.Naming.TV
{
    /// <summary>
    /// Holder object for Episode information.
    /// </summary>
    public class EpisodeInfo
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="EpisodeInfo"/> class.
        /// </summary>
        /// <param name="path">Path to the file.</param>
        public EpisodeInfo(string path)
        {
            Path = path;
        }

        /// <summary>
        /// Gets or sets the path.
        /// </summary>
        /// <value>The path.</value>
        public string Path { get; set; }

        /// <summary>
        /// Gets or sets the container.
        /// </summary>
        /// <value>The container.</value>
        public string? Container { get; set; }

        /// <summary>
        /// Gets or sets the name of the series.
        /// </summary>
        /// <value>The name of the series.</value>
        public string? SeriesName { get; set; }

        /// <summary>
        /// Gets or sets the format3 d.
        /// </summary>
        /// <value>The format3 d.</value>
        public string? Format3D { get; set; }

        /// <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; }

        /// <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; }

        /// <summary>
        /// Gets or sets the type of the stub.
        /// </summary>
        /// <value>The type of the stub.</value>
        public string? StubType { get; set; }

        /// <summary>
        /// Gets or sets optional season number.
        /// </summary>
        public int? SeasonNumber { get; set; }

        /// <summary>
        /// Gets or sets optional episode number.
        /// </summary>
        public int? EpisodeNumber { get; set; }

        /// <summary>
        /// Gets or sets optional ending episode number. For multi-episode files 1-13.
        /// </summary>
        public int? EndingEpisodeNumber { get; set; }

        /// <summary>
        /// Gets or sets optional year of release.
        /// </summary>
        public int? Year { get; set; }

        /// <summary>
        /// Gets or sets optional year of release.
        /// </summary>
        public int? Month { get; set; }

        /// <summary>
        /// Gets or sets optional day of release.
        /// </summary>
        public int? Day { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether by date expression was used.
        /// </summary>
        public bool IsByDate { get; set; }
    }
}