aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/TV/EpisodePathParserResult.cs
blob: 233d5a4f6c453f4743b92e3c39389b461ae0bb88 (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
namespace Emby.Naming.TV
{
    /// <summary>
    /// Holder object for <see cref="EpisodePathParser"/> result.
    /// </summary>
    public class EpisodePathParserResult
    {
        /// <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 the name of the series.
        /// </summary>
        /// <value>The name of the series.</value>
        public string? SeriesName { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether parsing was successful.
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether by date expression was used.
        /// </summary>
        public bool IsByDate { 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; }
    }
}