| | 1 | | #nullable disable |
| | 2 | |
|
| | 3 | | #pragma warning disable CS1591 |
| | 4 | |
|
| | 5 | | using System; |
| | 6 | | using System.Collections.Generic; |
| | 7 | | using MediaBrowser.Model.LiveTv; |
| | 8 | |
|
| | 9 | | namespace MediaBrowser.Controller.LiveTv |
| | 10 | | { |
| | 11 | | public class SeriesTimerInfo |
| | 12 | | { |
| | 13 | | public SeriesTimerInfo() |
| | 14 | | { |
| 0 | 15 | | Days = new List<DayOfWeek>(); |
| 0 | 16 | | SkipEpisodesInLibrary = true; |
| 0 | 17 | | KeepUntil = KeepUntil.UntilDeleted; |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// Gets or sets the id of the recording. |
| | 22 | | /// </summary> |
| | 23 | | public string Id { get; set; } |
| | 24 | |
|
| | 25 | | /// <summary> |
| | 26 | | /// Gets or sets the channelId of the recording. |
| | 27 | | /// </summary> |
| | 28 | | public string ChannelId { get; set; } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Gets or sets the program identifier. |
| | 32 | | /// </summary> |
| | 33 | | /// <value>The program identifier.</value> |
| | 34 | | public string ProgramId { get; set; } |
| | 35 | |
|
| | 36 | | /// <summary> |
| | 37 | | /// Gets or sets the name of the recording. |
| | 38 | | /// </summary> |
| | 39 | | public string Name { get; set; } |
| | 40 | |
|
| | 41 | | /// <summary> |
| | 42 | | /// Gets or sets the service name. |
| | 43 | | /// </summary> |
| | 44 | | public string ServiceName { get; set; } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// Gets or sets the description of the recording. |
| | 48 | | /// </summary> |
| | 49 | | public string Overview { get; set; } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets the start date of the recording, in UTC. |
| | 53 | | /// </summary> |
| | 54 | | public DateTime StartDate { get; set; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets the end date of the recording, in UTC. |
| | 58 | | /// </summary> |
| | 59 | | public DateTime EndDate { get; set; } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets a value indicating whether [record any time]. |
| | 63 | | /// </summary> |
| | 64 | | /// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value> |
| | 65 | | public bool RecordAnyTime { get; set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets or sets a value indicating whether [record any channel]. |
| | 69 | | /// </summary> |
| | 70 | | /// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value> |
| | 71 | | public bool RecordAnyChannel { get; set; } |
| | 72 | |
|
| | 73 | | public int KeepUpTo { get; set; } |
| | 74 | |
|
| | 75 | | public KeepUntil KeepUntil { get; set; } |
| | 76 | |
|
| | 77 | | public bool SkipEpisodesInLibrary { get; set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets or sets a value indicating whether [record new only]. |
| | 81 | | /// </summary> |
| | 82 | | /// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value> |
| | 83 | | public bool RecordNewOnly { get; set; } |
| | 84 | |
|
| | 85 | | /// <summary> |
| | 86 | | /// Gets or sets the days. |
| | 87 | | /// </summary> |
| | 88 | | /// <value>The days.</value> |
| | 89 | | public List<DayOfWeek> Days { get; set; } |
| | 90 | |
|
| | 91 | | /// <summary> |
| | 92 | | /// Gets or sets the priority. |
| | 93 | | /// </summary> |
| | 94 | | /// <value>The priority.</value> |
| | 95 | | public int Priority { get; set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets or sets the pre padding seconds. |
| | 99 | | /// </summary> |
| | 100 | | /// <value>The pre padding seconds.</value> |
| | 101 | | public int PrePaddingSeconds { get; set; } |
| | 102 | |
|
| | 103 | | /// <summary> |
| | 104 | | /// Gets or sets the post padding seconds. |
| | 105 | | /// </summary> |
| | 106 | | /// <value>The post padding seconds.</value> |
| | 107 | | public int PostPaddingSeconds { get; set; } |
| | 108 | |
|
| | 109 | | /// <summary> |
| | 110 | | /// Gets or sets a value indicating whether this instance is pre padding required. |
| | 111 | | /// </summary> |
| | 112 | | /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value> |
| | 113 | | public bool IsPrePaddingRequired { get; set; } |
| | 114 | |
|
| | 115 | | /// <summary> |
| | 116 | | /// Gets or sets a value indicating whether this instance is post padding required. |
| | 117 | | /// </summary> |
| | 118 | | /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value> |
| | 119 | | public bool IsPostPaddingRequired { get; set; } |
| | 120 | |
|
| | 121 | | /// <summary> |
| | 122 | | /// Gets or sets the series identifier. |
| | 123 | | /// </summary> |
| | 124 | | /// <value>The series identifier.</value> |
| | 125 | | public string SeriesId { get; set; } |
| | 126 | | } |
| | 127 | | } |