jellyfin/Jellyfin.Api/Models/StreamingDtos/VideoRequestDto.cs

19 lines
624 B
C#
Raw Normal View History

2023-01-31 12:18:10 +01:00
namespace Jellyfin.Api.Models.StreamingDtos;
/// <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; }
2020-07-22 16:57:06 +02:00
}