aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/PlayRequest.cs
blob: 6a66465a20b5cf1de78a7483ff744ef49bbf2492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#nullable disable
#pragma warning disable CS1591

using System;

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 Guid[] 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; }

        /// <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; }

        public int? AudioStreamIndex { get; set; }

        public string MediaSourceId { get; set; }

        public int? StartIndex { get; set; }
    }
}