ProgramInfo.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. /// Genre of the program.
  40. /// </summary>
  41. public List<string> Genres { get; set; }
  42. /// <summary>
  43. /// Gets or sets the quality.
  44. /// </summary>
  45. /// <value>The quality.</value>
  46. public ProgramVideoQuality Quality { get; set; }
  47. /// <summary>
  48. /// Gets or sets the original air date.
  49. /// </summary>
  50. /// <value>The original air date.</value>
  51. public DateTime? OriginalAirDate { get; set; }
  52. /// <summary>
  53. /// Gets or sets the audio.
  54. /// </summary>
  55. /// <value>The audio.</value>
  56. public ProgramAudio Audio { get; set; }
  57. /// <summary>
  58. /// Gets or sets the community rating.
  59. /// </summary>
  60. /// <value>The community rating.</value>
  61. public float? CommunityRating { get; set; }
  62. public ProgramInfo()
  63. {
  64. Genres = new List<string>();
  65. }
  66. }
  67. }