jellyfin/MediaBrowser.Controller/Streaming/VideoRequestDto.cs

24 lines
781 B
C#
Raw Normal View History

2023-10-31 18:26:37 +01:00
namespace MediaBrowser.Controller.Streaming;
2023-01-31 12:18:10 +01:00
/// <summary>
/// The video request dto.
/// </summary>
public class VideoRequestDto : StreamingRequestDto
2020-07-22 16:57:06 +02:00
{
/// <summary>
2023-01-31 12:18:10 +01:00
/// Gets a value indicating whether this instance has fixed resolution.
2020-07-22 16:57:06 +02:00
/// </summary>
2023-01-31 12:18:10 +01: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 16:57:06 +02:00
2023-01-31 12:18:10 +01:00
/// <summary>
/// Gets or sets a value indicating whether to enable subtitles in the manifest.
/// </summary>
public bool EnableSubtitlesInManifest { get; set; }
2023-02-23 03:17:54 +01:00
/// <summary>
/// Gets or sets a value indicating whether to enable trickplay images.
/// </summary>
public bool EnableTrickplay { get; set; }
2020-07-22 16:57:06 +02:00
}