PlayRequestDto.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Jellyfin.Api.Models.SyncPlayDtos
  4. {
  5. /// <summary>
  6. /// Class PlayRequestDto.
  7. /// </summary>
  8. public class PlayRequestDto
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the <see cref="PlayRequestDto"/> class.
  12. /// </summary>
  13. public PlayRequestDto()
  14. {
  15. PlayingQueue = Array.Empty<Guid>();
  16. }
  17. /// <summary>
  18. /// Gets or sets the playing queue.
  19. /// </summary>
  20. /// <value>The playing queue.</value>
  21. public IReadOnlyList<Guid> PlayingQueue { get; set; }
  22. /// <summary>
  23. /// Gets or sets the position of the playing item in the queue.
  24. /// </summary>
  25. /// <value>The playing item position.</value>
  26. public int PlayingItemPosition { get; set; }
  27. /// <summary>
  28. /// Gets or sets the start position ticks.
  29. /// </summary>
  30. /// <value>The start position ticks.</value>
  31. public long StartPositionTicks { get; set; }
  32. }
  33. }