< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Streaming.VideoRequestDto
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Streaming/VideoRequestDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 23
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_HasFixedResolution()0%620%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Streaming/VideoRequestDto.cs

#LineLine coverage
 1namespace MediaBrowser.Controller.Streaming;
 2
 3/// <summary>
 4/// The video request dto.
 5/// </summary>
 6public 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>
 012    public bool HasFixedResolution => Width.HasValue || Height.HasValue;
 13
 14    /// <summary>
 15    /// Gets or sets a value indicating whether to enable subtitles in the manifest.
 16    /// </summary>
 17    public bool EnableSubtitlesInManifest { get; set; }
 18
 19    /// <summary>
 20    /// Gets or sets a value indicating whether to enable trickplay images.
 21    /// </summary>
 22    public bool EnableTrickplay { get; set; }
 23}

Methods/Properties

get_HasFixedResolution()