RecordingInfo.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. /// Name of the recording.
  22. /// </summary>
  23. public string Name { get; set; }
  24. /// <summary>
  25. /// Gets or sets the path.
  26. /// </summary>
  27. /// <value>The path.</value>
  28. public string Path { 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 program identifier.
  43. /// </summary>
  44. /// <value>The program identifier.</value>
  45. public string ProgramId { get; set; }
  46. /// <summary>
  47. /// Gets or sets the status.
  48. /// </summary>
  49. /// <value>The status.</value>
  50. public RecordingStatus Status { get; set; }
  51. /// <summary>
  52. /// Genre of the program.
  53. /// </summary>
  54. public List<string> Genres { get; set; }
  55. /// <summary>
  56. /// Gets or sets a value indicating whether this instance is repeat.
  57. /// </summary>
  58. /// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
  59. public bool IsRepeat { get; set; }
  60. /// <summary>
  61. /// Gets or sets the episode title.
  62. /// </summary>
  63. /// <value>The episode title.</value>
  64. public string EpisodeTitle { get; set; }
  65. public RecordingInfo()
  66. {
  67. Genres = new List<string>();
  68. }
  69. }
  70. }