RecordingInfo.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. using MediaBrowser.Model.LiveTv;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. public class RecordingInfo
  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 status.
  43. /// </summary>
  44. /// <value>The status.</value>
  45. public RecordingStatus Status { get; set; }
  46. /// <summary>
  47. /// Gets or sets a value indicating whether this instance is recurring.
  48. /// </summary>
  49. /// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
  50. public bool IsRecurring { get; set; }
  51. /// <summary>
  52. /// Parent recurring.
  53. /// </summary>
  54. public string RecurringParent { get; set; }
  55. /// <summary>
  56. /// Start date for the recurring, in UTC.
  57. /// </summary>
  58. public DateTime RecurrringStartDate { get; set; }
  59. /// <summary>
  60. /// End date for the recurring, in UTC
  61. /// </summary>
  62. public DateTime RecurringEndDate { get; set; }
  63. /// <summary>
  64. /// When do we need the recording?
  65. /// </summary>
  66. public List<string> DayMask { get; set; }
  67. }
  68. }