jellyfin/MediaBrowser.Controller/Streaming/VideoRequestDto.cs

24 lines
781 B
C#
Raw Normal View History

2023-10-31 13:26:37 -04:00
namespace MediaBrowser.Controller.Streaming;
2023-01-31 06:18:10 -05:00
/// <summary>
/// The video request dto.
/// </summary>
public class VideoRequestDto : StreamingRequestDto
2020-07-22 10:57:06 -04:00
{
/// <summary>
2023-01-31 06:18:10 -05:00
/// Gets a value indicating whether this instance has fixed resolution.
2020-07-22 10:57:06 -04:00
/// </summary>
2023-01-31 06:18:10 -05:00
/// <value><c>true</c> if this instance has fixed resolution; otherwise, <c>false</c>.</value>
public bool HasFixedResolution => Width.HasValue || Height.HasValue;
2020-07-22 10:57:06 -04:00
2023-01-31 06:18:10 -05:00
/// <summary>
/// Gets or sets a value indicating whether to enable subtitles in the manifest.
/// </summary>
public bool EnableSubtitlesInManifest { get; set; }
2023-02-22 21:17:54 -05:00
/// <summary>
/// Gets or sets a value indicating whether to enable trickplay images.
/// </summary>
public bool EnableTrickplay { get; set; }
2020-07-22 10:57:06 -04:00
}