PlayRequest.cs 1.2 KB

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