PlayRequestDto.cs 946 B

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