< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Configuration.UserConfiguration
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Configuration/UserConfiguration.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 78
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/Configuration/UserConfiguration.cs

#LineLine coverage
 1#pragma warning disable CS1591
 2
 3using System;
 4using Jellyfin.Data.Enums;
 5
 6namespace MediaBrowser.Model.Configuration
 7{
 8    /// <summary>
 9    /// Class UserConfiguration.
 10    /// </summary>
 11    public class UserConfiguration
 12    {
 13        /// <summary>
 14        /// Initializes a new instance of the <see cref="UserConfiguration" /> class.
 15        /// </summary>
 16        public UserConfiguration()
 17        {
 14218            EnableNextEpisodeAutoPlay = true;
 14219            RememberAudioSelections = true;
 14220            RememberSubtitleSelections = true;
 21
 14222            HidePlayedInLatest = true;
 14223            PlayDefaultAudioTrack = true;
 24
 14225            LatestItemsExcludes = Array.Empty<Guid>();
 14226            OrderedViews = Array.Empty<Guid>();
 14227            MyMediaExcludes = Array.Empty<Guid>();
 14228            GroupedFolders = Array.Empty<Guid>();
 14229        }
 30
 31        /// <summary>
 32        /// Gets or sets the audio language preference.
 33        /// </summary>
 34        /// <value>The audio language preference.</value>
 35        public string? AudioLanguagePreference { get; set; }
 36
 37        /// <summary>
 38        /// Gets or sets a value indicating whether [play default audio track].
 39        /// </summary>
 40        /// <value><c>true</c> if [play default audio track]; otherwise, <c>false</c>.</value>
 41        public bool PlayDefaultAudioTrack { get; set; }
 42
 43        /// <summary>
 44        /// Gets or sets the subtitle language preference.
 45        /// </summary>
 46        /// <value>The subtitle language preference.</value>
 47        public string? SubtitleLanguagePreference { get; set; }
 48
 49        public bool DisplayMissingEpisodes { get; set; }
 50
 51        public Guid[] GroupedFolders { get; set; }
 52
 53        public SubtitlePlaybackMode SubtitleMode { get; set; }
 54
 55        public bool DisplayCollectionsView { get; set; }
 56
 57        public bool EnableLocalPassword { get; set; }
 58
 59        public Guid[] OrderedViews { get; set; }
 60
 61        public Guid[] LatestItemsExcludes { get; set; }
 62
 63        public Guid[] MyMediaExcludes { get; set; }
 64
 65        public bool HidePlayedInLatest { get; set; }
 66
 67        public bool RememberAudioSelections { get; set; }
 68
 69        public bool RememberSubtitleSelections { get; set; }
 70
 71        public bool EnableNextEpisodeAutoPlay { get; set; }
 72
 73        /// <summary>
 74        /// Gets or sets the id of the selected cast receiver.
 75        /// </summary>
 76        public string? CastReceiverId { get; set; }
 77    }
 78}

Methods/Properties

.ctor()