BufferRequestDto.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. namespace Jellyfin.Api.Models.SyncPlayDtos;
  3. /// <summary>
  4. /// Class BufferRequestDto.
  5. /// </summary>
  6. public class BufferRequestDto
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="BufferRequestDto"/> class.
  10. /// </summary>
  11. public BufferRequestDto()
  12. {
  13. PlaylistItemId = Guid.Empty;
  14. }
  15. /// <summary>
  16. /// Gets or sets when the request has been made by the client.
  17. /// </summary>
  18. /// <value>The date of the request.</value>
  19. public DateTime When { get; set; }
  20. /// <summary>
  21. /// Gets or sets the position ticks.
  22. /// </summary>
  23. /// <value>The position ticks.</value>
  24. public long PositionTicks { get; set; }
  25. /// <summary>
  26. /// Gets or sets a value indicating whether the client playback is unpaused.
  27. /// </summary>
  28. /// <value>The client playback status.</value>
  29. public bool IsPlaying { get; set; }
  30. /// <summary>
  31. /// Gets or sets the playlist item identifier of the playing item.
  32. /// </summary>
  33. /// <value>The playlist item identifier.</value>
  34. public Guid PlaylistItemId { get; set; }
  35. }