ProgramInfo.cs 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using MediaBrowser.Model.LiveTv;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. public class ProgramInfo
  7. {
  8. /// <summary>
  9. /// Id of the program.
  10. /// </summary>
  11. public string Id { get; set; }
  12. /// <summary>
  13. /// Gets or sets the channel identifier.
  14. /// </summary>
  15. /// <value>The channel identifier.</value>
  16. public string ChannelId { get; set; }
  17. /// <summary>
  18. /// Name of the program
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// Gets or sets the official rating.
  23. /// </summary>
  24. /// <value>The official rating.</value>
  25. public string OfficialRating { get; set; }
  26. /// <summary>
  27. /// Description of the progam.
  28. /// </summary>
  29. public string Description { get; set; }
  30. /// <summary>
  31. /// The start date of the program, in UTC.
  32. /// </summary>
  33. public DateTime StartDate { get; set; }
  34. /// <summary>
  35. /// The end date of the program, in UTC.
  36. /// </summary>
  37. public DateTime EndDate { get; set; }
  38. /// <summary>
  39. /// Gets or sets the aspect ratio.
  40. /// </summary>
  41. /// <value>The aspect ratio.</value>
  42. public string AspectRatio { get; set; }
  43. /// <summary>
  44. /// Genre of the program.
  45. /// </summary>
  46. public List<string> Genres { get; set; }
  47. /// <summary>
  48. /// Gets or sets the quality.
  49. /// </summary>
  50. /// <value>The quality.</value>
  51. public ProgramVideoQuality Quality { get; set; }
  52. /// <summary>
  53. /// Gets or sets the original air date.
  54. /// </summary>
  55. /// <value>The original air date.</value>
  56. public DateTime? OriginalAirDate { get; set; }
  57. /// <summary>
  58. /// Gets or sets the audio.
  59. /// </summary>
  60. /// <value>The audio.</value>
  61. public ProgramAudio Audio { get; set; }
  62. /// <summary>
  63. /// Gets or sets the community rating.
  64. /// </summary>
  65. /// <value>The community rating.</value>
  66. public float? CommunityRating { get; set; }
  67. /// <summary>
  68. /// Gets or sets a value indicating whether this instance is repeat.
  69. /// </summary>
  70. /// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
  71. public bool IsRepeat { get; set; }
  72. /// <summary>
  73. /// Gets or sets the episode title.
  74. /// </summary>
  75. /// <value>The episode title.</value>
  76. public string EpisodeTitle { get; set; }
  77. public ProgramInfo()
  78. {
  79. Genres = new List<string>();
  80. }
  81. }
  82. }