2020-11-28 06:19:24 -07:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2020-12-03 11:01:57 -07:00
|
|
|
namespace Jellyfin.Api.Models.SyncPlayDtos
|
2020-11-28 06:19:24 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
/// Class PlayRequestDto.
|
2020-11-28 06:19:24 -07:00
|
|
|
/// </summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
public class PlayRequestDto
|
2020-11-28 06:19:24 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
/// Initializes a new instance of the <see cref="PlayRequestDto"/> class.
|
2020-11-28 06:19:24 -07:00
|
|
|
/// </summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
public PlayRequestDto()
|
2020-11-28 06:19:24 -07:00
|
|
|
{
|
|
|
|
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; }
|
|
|
|
}
|
|
|
|
}
|