SeriesTimerInfo.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using MediaBrowser.Model.LiveTv;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. public class SeriesTimerInfo
  7. {
  8. /// <summary>
  9. /// Id of the recording.
  10. /// </summary>
  11. public string Id { get; set; }
  12. /// <summary>
  13. /// ChannelId of the recording.
  14. /// </summary>
  15. public string ChannelId { get; set; }
  16. /// <summary>
  17. /// ChannelName of the recording.
  18. /// </summary>
  19. public string ChannelName { get; set; }
  20. /// <summary>
  21. /// Gets or sets the program identifier.
  22. /// </summary>
  23. /// <value>The program identifier.</value>
  24. public string ProgramId { get; set; }
  25. /// <summary>
  26. /// Name of the recording.
  27. /// </summary>
  28. public string Name { get; set; }
  29. /// <summary>
  30. /// Description of the recording.
  31. /// </summary>
  32. public string Description { get; set; }
  33. /// <summary>
  34. /// The start date of the recording, in UTC.
  35. /// </summary>
  36. public DateTime StartDate { get; set; }
  37. /// <summary>
  38. /// The end date of the recording, in UTC.
  39. /// </summary>
  40. public DateTime EndDate { get; set; }
  41. /// <summary>
  42. /// Gets or sets the pre padding seconds.
  43. /// </summary>
  44. /// <value>The pre padding seconds.</value>
  45. public int PrePaddingSeconds { get; set; }
  46. /// <summary>
  47. /// Gets or sets the post padding seconds.
  48. /// </summary>
  49. /// <value>The post padding seconds.</value>
  50. public int PostPaddingSeconds { get; set; }
  51. /// <summary>
  52. /// Gets or sets the type of the recurrence.
  53. /// </summary>
  54. /// <value>The type of the recurrence.</value>
  55. public RecurrenceType RecurrenceType { get; set; }
  56. /// <summary>
  57. /// Gets or sets the days.
  58. /// </summary>
  59. /// <value>The days.</value>
  60. public List<DayOfWeek> Days { get; set; }
  61. /// <summary>
  62. /// Gets or sets the priority.
  63. /// </summary>
  64. /// <value>The priority.</value>
  65. public int Priority { get; set; }
  66. public SeriesTimerInfo()
  67. {
  68. Days = new List<DayOfWeek>();
  69. }
  70. }
  71. }