jellyfin/MediaBrowser.Model/Session/PlayRequest.cs

46 lines
1.2 KiB
C#
Raw Normal View History

#nullable disable
2020-02-03 17:49:27 -07:00
#pragma warning disable CS1591
using System;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Class PlayRequest.
2018-12-27 16:27:57 -07:00
/// </summary>
public class PlayRequest
{
/// <summary>
/// Gets or sets the item ids.
/// </summary>
/// <value>The item ids.</value>
public Guid[] ItemIds { get; set; }
/// <summary>
/// Gets or sets the start position ticks that the first item should be played at.
2018-12-27 16:27:57 -07:00
/// </summary>
/// <value>The start position ticks.</value>
public long? StartPositionTicks { get; set; }
/// <summary>
/// Gets or sets the play command.
/// </summary>
/// <value>The play command.</value>
public PlayCommand PlayCommand { get; set; }
/// <summary>
/// Gets or sets the controlling user identifier.
/// </summary>
/// <value>The controlling user identifier.</value>
public Guid ControllingUserId { get; set; }
public int? SubtitleStreamIndex { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public int? AudioStreamIndex { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public string MediaSourceId { get; set; }
2020-06-15 14:43:52 -07:00
2018-12-27 16:27:57 -07:00
public int? StartIndex { get; set; }
}
}