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