TimerInfo.cs 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using MediaBrowser.Model.LiveTv;
  2. using System;
  3. namespace MediaBrowser.Controller.LiveTv
  4. {
  5. public class TimerInfo
  6. {
  7. /// <summary>
  8. /// Id of the recording.
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// Gets or sets the series timer identifier.
  13. /// </summary>
  14. /// <value>The series timer identifier.</value>
  15. public string SeriesTimerId { get; set; }
  16. /// <summary>
  17. /// ChannelId of the recording.
  18. /// </summary>
  19. public string ChannelId { 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 Overview { 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 status.
  43. /// </summary>
  44. /// <value>The status.</value>
  45. public RecordingStatus Status { get; set; }
  46. /// <summary>
  47. /// Gets or sets the pre padding seconds.
  48. /// </summary>
  49. /// <value>The pre padding seconds.</value>
  50. public int PrePaddingSeconds { get; set; }
  51. /// <summary>
  52. /// Gets or sets the post padding seconds.
  53. /// </summary>
  54. /// <value>The post padding seconds.</value>
  55. public int PostPaddingSeconds { get; set; }
  56. /// <summary>
  57. /// Gets or sets a value indicating whether this instance is pre padding required.
  58. /// </summary>
  59. /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
  60. public bool IsPrePaddingRequired { get; set; }
  61. /// <summary>
  62. /// Gets or sets a value indicating whether this instance is post padding required.
  63. /// </summary>
  64. /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
  65. public bool IsPostPaddingRequired { get; set; }
  66. /// <summary>
  67. /// Gets or sets the priority.
  68. /// </summary>
  69. /// <value>The priority.</value>
  70. public int Priority { get; set; }
  71. }
  72. }