PlayRequest.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. namespace MediaBrowser.Model.Session
  5. {
  6. /// <summary>
  7. /// Class PlayRequest.
  8. /// </summary>
  9. public class PlayRequest
  10. {
  11. /// <summary>
  12. /// Gets or sets the item ids.
  13. /// </summary>
  14. /// <value>The item ids.</value>
  15. public Guid[] ItemIds { get; set; }
  16. /// <summary>
  17. /// Gets or sets the start position ticks that the first item should be played at.
  18. /// </summary>
  19. /// <value>The start position ticks.</value>
  20. public long? StartPositionTicks { get; set; }
  21. /// <summary>
  22. /// Gets or sets the play command.
  23. /// </summary>
  24. /// <value>The play command.</value>
  25. public PlayCommand PlayCommand { get; set; }
  26. /// <summary>
  27. /// Gets or sets the controlling user identifier.
  28. /// </summary>
  29. /// <value>The controlling user identifier.</value>
  30. public Guid ControllingUserId { get; set; }
  31. public int? SubtitleStreamIndex { get; set; }
  32. public int? AudioStreamIndex { get; set; }
  33. public string MediaSourceId { get; set; }
  34. public int? StartIndex { get; set; }
  35. }
  36. }