aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/ServerConfigurationDto.cs
blob: 3f2bfe04f069fbd0da2db8b22aef92f4a2d45897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#pragma warning disable CS1591
#pragma warning disable CA1819

using MediaBrowser.Model.Drawing;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.System;
using MediaBrowser.Model.Updates;

namespace MediaBrowser.Model.Configuration;

/// <summary>
/// The server configuration DTO for API use.
/// </summary>
public class ServerConfigurationDto
{
    public int LogFileRetentionDays { get; set; }

    public bool IsStartupWizardCompleted { get; set; }

    public string? CachePath { get; set; }

    public string? PreviousVersionStr { get; set; }

    public bool EnableMetrics { get; set; }

    public bool EnableNormalizedItemByNameIds { get; set; }

    public bool IsPortAuthorized { get; set; }

    public bool QuickConnectAvailable { get; set; }

    public bool EnableCaseSensitiveItemIds { get; set; }

    public bool DisableLiveTvChannelUserDataName { get; set; }

    public string MetadataPath { get; set; } = null!;

    public string PreferredMetadataLanguage { get; set; } = null!;

    public string MetadataCountryCode { get; set; } = null!;

    public string[] SortReplaceCharacters { get; set; } = null!;

    public string[] SortRemoveCharacters { get; set; } = null!;

    public string[] SortRemoveWords { get; set; } = null!;

    public int MinResumePct { get; set; }

    public int MaxResumePct { get; set; }

    public int MinResumeDurationSeconds { get; set; }

    public int MinAudiobookResume { get; set; }

    public int MaxAudiobookResume { get; set; }

    public int InactiveSessionThreshold { get; set; }

    public int LibraryMonitorDelay { get; set; }

    public int LibraryUpdateDuration { get; set; }

    public int CacheSize { get; set; }

    public ImageSavingConvention ImageSavingConvention { get; set; }

    public MetadataOptions[] MetadataOptions { get; set; } = null!;

    public bool SkipDeserializationForBasicTypes { get; set; }

    public string ServerName { get; set; } = null!;

    public string UICulture { get; set; } = null!;

    public bool SaveMetadataHidden { get; set; }

    public NameValuePair[] ContentTypes { get; set; } = null!;

    public int RemoteClientBitrateLimit { get; set; }

    public bool EnableFolderView { get; set; }

    public bool EnableGroupingMoviesIntoCollections { get; set; }

    public bool EnableGroupingShowsIntoCollections { get; set; }

    public bool DisplaySpecialsWithinSeasons { get; set; }

    public string[] CodecsUsed { get; set; } = null!;

    public RepositoryInfo[] PluginRepositories { get; set; } = null!;

    public bool EnableExternalContentInSuggestions { get; set; }

    public int ImageExtractionTimeoutMs { get; set; }

    public PathSubstitution[] PathSubstitutions { get; set; } = null!;

    public bool EnableSlowResponseWarning { get; set; }

    public long SlowResponseThresholdMs { get; set; }

    public string[] CorsHosts { get; set; } = null!;

    public int? ActivityLogRetentionDays { get; set; }

    public int LibraryScanFanoutConcurrency { get; set; }

    public int LibraryMetadataRefreshConcurrency { get; set; }

    public bool AllowClientLogUpload { get; set; }

    public int DummyChapterDuration { get; set; }

    public ImageResolution ChapterImageResolution { get; set; }

    public int ParallelImageEncodingLimit { get; set; }

    public CastReceiverApplication[] CastReceiverApplications { get; set; } = null!;

    public TrickplayOptions TrickplayOptions { get; set; } = null!;

    public bool EnableLegacyAuthorization { get; set; }
}