VideoRequestDto.cs 686 B

12345678910111213141516171819
  1. namespace Jellyfin.Api.Models.StreamingDtos
  2. {
  3. /// <summary>
  4. /// The video request dto.
  5. /// </summary>
  6. public class VideoRequestDto : StreamingRequestDto
  7. {
  8. /// <summary>
  9. /// Gets a value indicating whether this instance has fixed resolution.
  10. /// </summary>
  11. /// <value><c>true</c> if this instance has fixed resolution; otherwise, <c>false</c>.</value>
  12. public bool HasFixedResolution => Width.HasValue || Height.HasValue;
  13. /// <summary>
  14. /// Gets or sets a value indicating whether to enable subtitles in the manifest.
  15. /// </summary>
  16. public bool EnableSubtitlesInManifest { get; set; }
  17. }
  18. }