SeriesTimerInfoDto.cs 2.8 KB

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