diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-10-31 13:26:37 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2023-12-21 12:53:50 -0500 |
| commit | 9215a4d40ae24e5996a5e16dfa296b09a7befc40 (patch) | |
| tree | 9412154b3cf4f7a654a8878d23d2f7a3a1d18b5f /MediaBrowser.Controller/Streaming/VideoRequestDto.cs | |
| parent | c2081955c8b2a81eb214f321697d3462709164e0 (diff) | |
Add ITranscodeManager service
Diffstat (limited to 'MediaBrowser.Controller/Streaming/VideoRequestDto.cs')
| -rw-r--r-- | MediaBrowser.Controller/Streaming/VideoRequestDto.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Streaming/VideoRequestDto.cs b/MediaBrowser.Controller/Streaming/VideoRequestDto.cs new file mode 100644 index 000000000..44dc831fd --- /dev/null +++ b/MediaBrowser.Controller/Streaming/VideoRequestDto.cs @@ -0,0 +1,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; } +} |
