PlaybackProgressInfo.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using MediaBrowser.Model.Dto;
  5. namespace MediaBrowser.Model.Session
  6. {
  7. /// <summary>
  8. /// Class PlaybackProgressInfo.
  9. /// </summary>
  10. public class PlaybackProgressInfo
  11. {
  12. /// <summary>
  13. /// Gets or sets a value indicating whether this instance can seek.
  14. /// </summary>
  15. /// <value><c>true</c> if this instance can seek; otherwise, <c>false</c>.</value>
  16. public bool CanSeek { get; set; }
  17. /// <summary>
  18. /// Gets or sets the item.
  19. /// </summary>
  20. /// <value>The item.</value>
  21. public BaseItemDto Item { get; set; }
  22. /// <summary>
  23. /// Gets or sets the item identifier.
  24. /// </summary>
  25. /// <value>The item identifier.</value>
  26. public Guid ItemId { get; set; }
  27. /// <summary>
  28. /// Gets or sets the session id.
  29. /// </summary>
  30. /// <value>The session id.</value>
  31. public string SessionId { get; set; }
  32. /// <summary>
  33. /// Gets or sets the media version identifier.
  34. /// </summary>
  35. /// <value>The media version identifier.</value>
  36. public string MediaSourceId { get; set; }
  37. /// <summary>
  38. /// Gets or sets the index of the audio stream.
  39. /// </summary>
  40. /// <value>The index of the audio stream.</value>
  41. public int? AudioStreamIndex { get; set; }
  42. /// <summary>
  43. /// Gets or sets the index of the subtitle stream.
  44. /// </summary>
  45. /// <value>The index of the subtitle stream.</value>
  46. public int? SubtitleStreamIndex { get; set; }
  47. /// <summary>
  48. /// Gets or sets a value indicating whether this instance is paused.
  49. /// </summary>
  50. /// <value><c>true</c> if this instance is paused; otherwise, <c>false</c>.</value>
  51. public bool IsPaused { get; set; }
  52. /// <summary>
  53. /// Gets or sets a value indicating whether this instance is muted.
  54. /// </summary>
  55. /// <value><c>true</c> if this instance is muted; otherwise, <c>false</c>.</value>
  56. public bool IsMuted { get; set; }
  57. /// <summary>
  58. /// Gets or sets the position ticks.
  59. /// </summary>
  60. /// <value>The position ticks.</value>
  61. public long? PositionTicks { get; set; }
  62. public long? PlaybackStartTimeTicks { get; set; }
  63. /// <summary>
  64. /// Gets or sets the volume level.
  65. /// </summary>
  66. /// <value>The volume level.</value>
  67. public int? VolumeLevel { get; set; }
  68. public int? Brightness { get; set; }
  69. public string AspectRatio { get; set; }
  70. /// <summary>
  71. /// Gets or sets the play method.
  72. /// </summary>
  73. /// <value>The play method.</value>
  74. public PlayMethod PlayMethod { get; set; }
  75. /// <summary>
  76. /// Gets or sets the live stream identifier.
  77. /// </summary>
  78. /// <value>The live stream identifier.</value>
  79. public string LiveStreamId { get; set; }
  80. /// <summary>
  81. /// Gets or sets the play session identifier.
  82. /// </summary>
  83. /// <value>The play session identifier.</value>
  84. public string PlaySessionId { get; set; }
  85. /// <summary>
  86. /// Gets or sets the repeat mode.
  87. /// </summary>
  88. /// <value>The repeat mode.</value>
  89. public RepeatMode RepeatMode { get; set; }
  90. public QueueItem[] NowPlayingQueue { get; set; }
  91. public string PlaylistItemId { get; set; }
  92. }
  93. }