aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Streaming/VideoRequestDto.cs
blob: 44dc831fdc4374573d107b53d315b91b3066e464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace MediaBrowser.Controller.Streaming;

/// <summary>
/// The video request dto.
/// </summary>
public class VideoRequestDto : StreamingRequestDto
{
    /// <summary>
    /// Gets a value indicating whether this instance has fixed resolution.
    /// </summary>
    /// <value><c>true</c> if this instance has fixed resolution; otherwise, <c>false</c>.</value>
    public bool HasFixedResolution => Width.HasValue || Height.HasValue;

    /// <summary>
    /// Gets or sets a value indicating whether to enable subtitles in the manifest.
    /// </summary>
    public bool EnableSubtitlesInManifest { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether to enable trickplay images.
    /// </summary>
    public bool EnableTrickplay { get; set; }
}