2020-11-28 08:19:24 -05:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2023-01-31 06:18:10 -05:00
|
|
|
namespace Jellyfin.Api.Models.SyncPlayDtos;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Class PlayRequestDto.
|
|
|
|
/// </summary>
|
|
|
|
public class PlayRequestDto
|
2020-11-28 08:19:24 -05:00
|
|
|
{
|
|
|
|
/// <summary>
|
2023-01-31 06:18:10 -05:00
|
|
|
/// Initializes a new instance of the <see cref="PlayRequestDto"/> class.
|
2020-11-28 08:19:24 -05:00
|
|
|
/// </summary>
|
2023-01-31 06:18:10 -05:00
|
|
|
public PlayRequestDto()
|
2020-11-28 08:19:24 -05:00
|
|
|
{
|
2023-01-31 06:18:10 -05:00
|
|
|
PlayingQueue = Array.Empty<Guid>();
|
|
|
|
}
|
2020-11-28 08:19:24 -05:00
|
|
|
|
2023-01-31 06:18:10 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the playing queue.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The playing queue.</value>
|
|
|
|
public IReadOnlyList<Guid> PlayingQueue { get; set; }
|
2020-11-28 08:19:24 -05:00
|
|
|
|
2023-01-31 06:18:10 -05:00
|
|
|
/// <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; }
|
2020-11-28 08:19:24 -05:00
|
|
|
|
2023-01-31 06:18:10 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the start position ticks.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The start position ticks.</value>
|
|
|
|
public long StartPositionTicks { get; set; }
|
2020-11-28 08:19:24 -05:00
|
|
|
}
|