RecordingInfo.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Controller.LiveTv
  4. {
  5. public class RecordingInfo
  6. {
  7. /// <summary>
  8. /// Id of the recording.
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// ChannelId of the recording.
  13. /// </summary>
  14. public string ChannelId { get; set; }
  15. /// <summary>
  16. /// ChannelName of the recording.
  17. /// </summary>
  18. public string ChannelName { get; set; }
  19. /// <summary>
  20. /// Gets or sets the program identifier.
  21. /// </summary>
  22. /// <value>The program identifier.</value>
  23. public string ProgramId { get; set; }
  24. /// <summary>
  25. /// Name of the recording.
  26. /// </summary>
  27. public string Name { get; set; }
  28. /// <summary>
  29. /// Description of the recording.
  30. /// </summary>
  31. public string Description { get; set; }
  32. /// <summary>
  33. /// The start date of the recording, in UTC.
  34. /// </summary>
  35. public DateTime StartDate { get; set; }
  36. /// <summary>
  37. /// The end date of the recording, in UTC.
  38. /// </summary>
  39. public DateTime EndDate { get; set; }
  40. /// <summary>
  41. /// Status of the recording.
  42. /// </summary>
  43. public string Status { get; set; } //TODO: Enum for status?? Difference NextPvr,Argus,...
  44. /// <summary>
  45. /// Gets or sets a value indicating whether this instance is recurring.
  46. /// </summary>
  47. /// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
  48. public bool IsRecurring { get; set; }
  49. /// <summary>
  50. /// Parent recurring.
  51. /// </summary>
  52. public string RecurringParent { get; set; }
  53. /// <summary>
  54. /// Start date for the recurring, in UTC.
  55. /// </summary>
  56. public DateTime RecurrringStartDate { get; set; }
  57. /// <summary>
  58. /// End date for the recurring, in UTC
  59. /// </summary>
  60. public DateTime RecurringEndDate { get; set; }
  61. /// <summary>
  62. /// When do we need the recording?
  63. /// </summary>
  64. public List<string> DayMask { get; set; }
  65. }
  66. }