< Summary - Jellyfin

Information
Class: MediaBrowser.Model.LiveTv.SeriesTimerInfoDto
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 94
Line coverage: 0%
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%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4using System;
 5using System.Collections.Generic;
 6using MediaBrowser.Model.Entities;
 7
 8namespace MediaBrowser.Model.LiveTv
 9{
 10    public enum KeepUntil
 11    {
 12        UntilDeleted,
 13        UntilSpaceNeeded,
 14        UntilWatched,
 15        UntilDate
 16    }
 17
 18    /// <summary>
 19    /// Class SeriesTimerInfoDto.
 20    /// </summary>
 21    public class SeriesTimerInfoDto : BaseTimerInfoDto
 22    {
 023        public SeriesTimerInfoDto()
 24        {
 025            ImageTags = new Dictionary<ImageType, string>();
 026            Days = Array.Empty<DayOfWeek>();
 027            Type = "SeriesTimer";
 028        }
 29
 30        /// <summary>
 31        /// Gets or sets a value indicating whether [record any time].
 32        /// </summary>
 33        /// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value>
 34        public bool RecordAnyTime { get; set; }
 35
 36        public bool SkipEpisodesInLibrary { get; set; }
 37
 38        /// <summary>
 39        /// Gets or sets a value indicating whether [record any channel].
 40        /// </summary>
 41        /// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value>
 42        public bool RecordAnyChannel { get; set; }
 43
 44        public int KeepUpTo { get; set; }
 45
 46        /// <summary>
 47        /// Gets or sets a value indicating whether [record new only].
 48        /// </summary>
 49        /// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value>
 50        public bool RecordNewOnly { get; set; }
 51
 52        /// <summary>
 53        /// Gets or sets the days.
 54        /// </summary>
 55        /// <value>The days.</value>
 56        public DayOfWeek[] Days { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets the day pattern.
 60        /// </summary>
 61        /// <value>The day pattern.</value>
 62        public DayPattern? DayPattern { get; set; }
 63
 64        /// <summary>
 65        /// Gets or sets the image tags.
 66        /// </summary>
 67        /// <value>The image tags.</value>
 68        public Dictionary<ImageType, string> ImageTags { get; set; }
 69
 70        /// <summary>
 71        /// Gets or sets the parent thumb item id.
 72        /// </summary>
 73        /// <value>The parent thumb item id.</value>
 74        public string ParentThumbItemId { get; set; }
 75
 76        /// <summary>
 77        /// Gets or sets the parent thumb image tag.
 78        /// </summary>
 79        /// <value>The parent thumb image tag.</value>
 80        public string ParentThumbImageTag { get; set; }
 81
 82        /// <summary>
 83        /// Gets or sets the parent primary image item identifier.
 84        /// </summary>
 85        /// <value>The parent primary image item identifier.</value>
 86        public string ParentPrimaryImageItemId { get; set; }
 87
 88        /// <summary>
 89        /// Gets or sets the parent primary image tag.
 90        /// </summary>
 91        /// <value>The parent primary image tag.</value>
 92        public string ParentPrimaryImageTag { get; set; }
 93    }
 94}

Methods/Properties

.ctor()