< Summary - Jellyfin

Information
Class: MediaBrowser.Model.LiveTv.TunerHostInfo
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/LiveTv/TunerHostInfo.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 50
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
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
.ctor()100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/LiveTv/TunerHostInfo.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4namespace MediaBrowser.Model.LiveTv
 5{
 6    public class TunerHostInfo
 7    {
 8        public TunerHostInfo()
 9        {
 1810            AllowHWTranscoding = true;
 1811            IgnoreDts = true;
 1812            ReadAtNativeFramerate = false;
 1813            AllowStreamSharing = true;
 1814            AllowFmp4TranscodingContainer = false;
 1815            FallbackMaxStreamingBitrate = 30000000;
 1816        }
 17
 18        public string Id { get; set; }
 19
 20        public string Url { get; set; }
 21
 22        public string Type { get; set; }
 23
 24        public string DeviceId { get; set; }
 25
 26        public string FriendlyName { get; set; }
 27
 28        public bool ImportFavoritesOnly { get; set; }
 29
 30        public bool AllowHWTranscoding { get; set; }
 31
 32        public bool AllowFmp4TranscodingContainer { get; set; }
 33
 34        public bool AllowStreamSharing { get; set; }
 35
 36        public int FallbackMaxStreamingBitrate { get; set; }
 37
 38        public bool EnableStreamLooping { get; set; }
 39
 40        public string Source { get; set; }
 41
 42        public int TunerCount { get; set; }
 43
 44        public string UserAgent { get; set; }
 45
 46        public bool IgnoreDts { get; set; }
 47
 48        public bool ReadAtNativeFramerate { get; set; }
 49    }
 50}

Methods/Properties

.ctor()