123456789101112131415161718192021222324252627282930313233343536 |
- using System;
- using System.Collections.Generic;
- namespace Jellyfin.Api.Models.SyncPlayDtos;
- /// <summary>
- /// Class PlayRequestDto.
- /// </summary>
- public class PlayRequestDto
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="PlayRequestDto"/> class.
- /// </summary>
- public PlayRequestDto()
- {
- PlayingQueue = Array.Empty<Guid>();
- }
- /// <summary>
- /// Gets or sets the playing queue.
- /// </summary>
- /// <value>The playing queue.</value>
- public IReadOnlyList<Guid> PlayingQueue { get; set; }
- /// <summary>
- /// Gets or sets the position of the playing item in the queue.
- /// </summary>
- /// <value>The playing item position.</value>
- public int PlayingItemPosition { get; set; }
- /// <summary>
- /// Gets or sets the start position ticks.
- /// </summary>
- /// <value>The start position ticks.</value>
- public long StartPositionTicks { get; set; }
- }
|