SeriesTimerInfo.cs 4.0 KB

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