< Summary - Jellyfin

Information
Class: Emby.Naming.TV.EpisodeInfo
Assembly: Emby.Naming
File(s): /srv/git/jellyfin/Emby.Naming/TV/EpisodeInfo.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 94
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/srv/git/jellyfin/Emby.Naming/TV/EpisodeInfo.cs

#LineLine coverage
 1namespace Emby.Naming.TV
 2{
 3    /// <summary>
 4    /// Holder object for Episode information.
 5    /// </summary>
 6    public class EpisodeInfo
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="EpisodeInfo"/> class.
 10        /// </summary>
 11        /// <param name="path">Path to the file.</param>
 12        public EpisodeInfo(string path)
 13        {
 8314            Path = path;
 8315        }
 16
 17        /// <summary>
 18        /// Gets or sets the path.
 19        /// </summary>
 20        /// <value>The path.</value>
 21        public string Path { get; set; }
 22
 23        /// <summary>
 24        /// Gets or sets the container.
 25        /// </summary>
 26        /// <value>The container.</value>
 27        public string? Container { get; set; }
 28
 29        /// <summary>
 30        /// Gets or sets the name of the series.
 31        /// </summary>
 32        /// <value>The name of the series.</value>
 33        public string? SeriesName { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the format3 d.
 37        /// </summary>
 38        /// <value>The format3 d.</value>
 39        public string? Format3D { get; set; }
 40
 41        /// <summary>
 42        /// Gets or sets a value indicating whether [is3 d].
 43        /// </summary>
 44        /// <value><c>true</c> if [is3 d]; otherwise, <c>false</c>.</value>
 45        public bool Is3D { get; set; }
 46
 47        /// <summary>
 48        /// Gets or sets a value indicating whether this instance is stub.
 49        /// </summary>
 50        /// <value><c>true</c> if this instance is stub; otherwise, <c>false</c>.</value>
 51        public bool IsStub { get; set; }
 52
 53        /// <summary>
 54        /// Gets or sets the type of the stub.
 55        /// </summary>
 56        /// <value>The type of the stub.</value>
 57        public string? StubType { get; set; }
 58
 59        /// <summary>
 60        /// Gets or sets optional season number.
 61        /// </summary>
 62        public int? SeasonNumber { get; set; }
 63
 64        /// <summary>
 65        /// Gets or sets optional episode number.
 66        /// </summary>
 67        public int? EpisodeNumber { get; set; }
 68
 69        /// <summary>
 70        /// Gets or sets optional ending episode number. For multi-episode files 1-13.
 71        /// </summary>
 72        public int? EndingEpisodeNumber { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets optional year of release.
 76        /// </summary>
 77        public int? Year { get; set; }
 78
 79        /// <summary>
 80        /// Gets or sets optional year of release.
 81        /// </summary>
 82        public int? Month { get; set; }
 83
 84        /// <summary>
 85        /// Gets or sets optional day of release.
 86        /// </summary>
 87        public int? Day { get; set; }
 88
 89        /// <summary>
 90        /// Gets or sets a value indicating whether by date expression was used.
 91        /// </summary>
 92        public bool IsByDate { get; set; }
 93    }
 94}

Methods/Properties

.ctor(System.String)