RecordingInfo.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 type of the channel.
  22. /// </summary>
  23. /// <value>The type of the channel.</value>
  24. public ChannelType ChannelType { get; set; }
  25. /// <summary>
  26. /// Name of the recording.
  27. /// </summary>
  28. public string Name { get; set; }
  29. /// <summary>
  30. /// Gets or sets the path.
  31. /// </summary>
  32. /// <value>The path.</value>
  33. public string Path { get; set; }
  34. /// <summary>
  35. /// Gets or sets the overview.
  36. /// </summary>
  37. /// <value>The overview.</value>
  38. public string Overview { get; set; }
  39. /// <summary>
  40. /// The start date of the recording, in UTC.
  41. /// </summary>
  42. public DateTime StartDate { get; set; }
  43. /// <summary>
  44. /// The end date of the recording, in UTC.
  45. /// </summary>
  46. public DateTime EndDate { get; set; }
  47. /// <summary>
  48. /// Gets or sets the program identifier.
  49. /// </summary>
  50. /// <value>The program identifier.</value>
  51. public string ProgramId { get; set; }
  52. /// <summary>
  53. /// Gets or sets the status.
  54. /// </summary>
  55. /// <value>The status.</value>
  56. public RecordingStatus Status { get; set; }
  57. /// <summary>
  58. /// Genre of the program.
  59. /// </summary>
  60. public List<string> Genres { get; set; }
  61. /// <summary>
  62. /// Gets or sets a value indicating whether this instance is repeat.
  63. /// </summary>
  64. /// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
  65. public bool IsRepeat { get; set; }
  66. /// <summary>
  67. /// Gets or sets the episode title.
  68. /// </summary>
  69. /// <value>The episode title.</value>
  70. public string EpisodeTitle { get; set; }
  71. /// <summary>
  72. /// Gets or sets a value indicating whether this instance is hd.
  73. /// </summary>
  74. /// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
  75. public bool? IsHD { get; set; }
  76. /// <summary>
  77. /// Gets or sets the audio.
  78. /// </summary>
  79. /// <value>The audio.</value>
  80. public ProgramAudio? Audio { get; set; }
  81. /// <summary>
  82. /// Gets or sets the official rating.
  83. /// </summary>
  84. /// <value>The official rating.</value>
  85. public string OfficialRating { get; set; }
  86. /// <summary>
  87. /// Gets or sets the community rating.
  88. /// </summary>
  89. /// <value>The community rating.</value>
  90. public float? CommunityRating { get; set; }
  91. public RecordingInfo()
  92. {
  93. Genres = new List<string>();
  94. }
  95. }
  96. }