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