2013-05-09 22:43:11 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class PlayRequest
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PlayRequest
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the item ids.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item ids.</value>
|
|
|
|
|
public string[] ItemIds { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the start position ticks that the first item should be played at
|
|
|
|
|
/// </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; }
|
2014-03-16 04:23:58 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the controlling user identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The controlling user identifier.</value>
|
|
|
|
|
public string ControllingUserId { get; set; }
|
2013-05-09 22:43:11 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Enum PlayCommand
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum PlayCommand
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The play now
|
|
|
|
|
/// </summary>
|
2014-03-29 18:20:42 +00:00
|
|
|
|
PlayNow = 0,
|
2013-05-09 22:43:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The play next
|
|
|
|
|
/// </summary>
|
2014-03-29 18:20:42 +00:00
|
|
|
|
PlayNext = 1,
|
2013-05-09 22:43:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The play last
|
|
|
|
|
/// </summary>
|
2014-03-29 18:20:42 +00:00
|
|
|
|
PlayLast = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The play instant mix
|
|
|
|
|
/// </summary>
|
|
|
|
|
PlayInstantMix = 3,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The play shuffle
|
|
|
|
|
/// </summary>
|
|
|
|
|
PlayShuffle = 4
|
2013-05-09 22:43:11 +00:00
|
|
|
|
}
|
2014-03-13 09:18:32 +00:00
|
|
|
|
}
|