diff options
| author | Niels van Velzen <nielsvanvelzen@users.noreply.github.com> | 2026-11-20 10:09:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-20 10:09:43 +0100 |
| commit | 821b849e61f6bd0fa760c76de2dc1f39400abd44 (patch) | |
| tree | 0a626c37b461d0efc51d5adcb92c9bce8f85d78b /MediaBrowser.Model/Configuration/ServerConfigurationDto.cs | |
| parent | ed76cb36e5df4b5e5608f5e9d311edf145126679 (diff) | |
| parent | 5cc214943cfd70154f0a2a3ae8139a1a1e69e71d (diff) | |
remove generic configuration endpoint and add explicit ones
Diffstat (limited to 'MediaBrowser.Model/Configuration/ServerConfigurationDto.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfigurationDto.cs | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfigurationDto.cs b/MediaBrowser.Model/Configuration/ServerConfigurationDto.cs new file mode 100644 index 0000000000..3f2bfe04f0 --- /dev/null +++ b/MediaBrowser.Model/Configuration/ServerConfigurationDto.cs @@ -0,0 +1,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; } +} |
