Class ServerConfiguration
Represents the server configuration.
Inheritance
System.Object
ServerConfiguration
Assembly: MediaBrowser.Model.dll
public class ServerConfiguration : BaseApplicationConfiguration
Fields
Declaration
public const int DefaultHttpPort = 8096
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int DefaultHttpsPort = 8920
Field Value
Type |
Description |
System.Int32 |
|
Properties
Declaration
public bool AllowLegacyLocalNetworkPassword { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool AutoRunWebApp { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string CertificatePassword { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the value pointing to the file system where the ssl certiifcate is located..
Declaration
public string CertificatePath { get; set; }
Property Value
Type |
Description |
System.String |
The value pointing to the file system where the ssl certiifcate is located..
|
Declaration
public bool CollapseVideoFolders { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Allows the dashboard to be served from a custom path.
Declaration
public string DashboardSourcePath { get; set; }
Property Value
Type |
Description |
System.String |
The dashboard source path.
|
Declaration
public int DatabaseAnalysisLimit { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int DatabaseCacheSizeMB { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool DisableAsyncIO { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnableAutomaticRestart { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets a value indicating whether [enable case sensitive item ids].
Declaration
public bool EnableCaseSensitiveItemIds { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if [enable case sensitive item ids]; otherwise, false .
|
Gets or sets a value indicating whether [enable dashboard response caching].
Allows potential contributors without visual studio to modify production dashboard code and test changes.
Declaration
public bool EnableDashboardResponseCaching { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if [enable dashboard response caching]; otherwise, false .
|
EnableExternalContentInSuggestions
Declaration
public bool EnableExternalContentInSuggestions { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets a value indicating whether [use HTTPS].
Declaration
public bool EnableHttps { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if [use HTTPS]; otherwise, false .
|
Declaration
public bool EnableOriginalTrackTitles { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnablePeopleLetterSubFolders { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnableRemoteAccess { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnableSavedMetadataForPeople { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnableSqLiteMmio { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets a value indicating whether [enable u pn p].
Declaration
public bool EnableUPnP { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if [enable u pn p]; otherwise, false .
|
Gets or sets the HTTP server port number.
Declaration
public int HttpServerPortNumber { get; set; }
Property Value
Type |
Description |
System.Int32 |
The HTTP server port number.
|
Gets or sets the HTTPS server port number.
Declaration
public int HttpsPortNumber { get; set; }
Property Value
Type |
Description |
System.Int32 |
The HTTPS server port number.
|
Declaration
public int ImageExtractionTimeoutMs { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool ImageExtractorUpgraded1 { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the image saving convention.
Declaration
public ImageSavingConvention ImageSavingConvention { get; set; }
Property Value
Declaration
public bool IsBehindProxy { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets a value indicating whether this instance is port authorized.
Declaration
public bool IsPortAuthorized { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if this instance is port authorized; otherwise, false .
|
Declaration
public bool IsRemoteIPFilterBlacklist { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
The delay in seconds that we will wait after a file system change to try and discover what has been added/removed
Some delay is necessary with some items because their creation is not atomic. It involves the creation of several
different directories and files.
Declaration
public int LibraryMonitorDelaySeconds { get; set; }
Property Value
Type |
Description |
System.Int32 |
The file watcher delay.
|
Declaration
public string[] LocalNetworkAddresses { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Declaration
public string[] LocalNetworkSubnets { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Declaration
public bool LogAllQueryTimes { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the metadata country code.
Declaration
public string MetadataCountryCode { get; set; }
Property Value
Type |
Description |
System.String |
The metadata country code.
|
Declaration
public string MetadataNetworkPath { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the metadata path.
Declaration
public string MetadataPath { get; set; }
Property Value
Type |
Description |
System.String |
The metadata path.
|
Declaration
public bool MigratedLibraryOptionsToDb { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool MigratedToUserItemShares8 { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool OptimizeDatabaseOnShutdown { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public PathSubstitution[] PathSubstitutions { get; set; }
Property Value
Declaration
public bool PlaylistsUpgradedToM3U { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public AddressFamily PreferredDetectedRemoteAddressFamily { get; set; }
Property Value
Type |
Description |
System.Net.Sockets.AddressFamily |
|
Gets or sets the preferred metadata language.
Declaration
public string PreferredMetadataLanguage { get; set; }
Property Value
Type |
Description |
System.String |
The preferred metadata language.
|
Declaration
public ProxyHeaderMode ProxyHeaderMode { get; set; }
Property Value
Gets or sets the public HTTPS port.
Declaration
public int PublicHttpsPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
The public HTTPS port.
|
Gets or sets the public mapped port.
Declaration
public int PublicPort { get; set; }
Property Value
Type |
Description |
System.Int32 |
The public mapped port.
|
Declaration
public int RemoteClientBitrateLimit { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string[] RemoteIPFilter { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Declaration
public bool RequireHttps { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string ServerName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int SimultaneousStreamLimit { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Words to be removed from strings to create a sort name
Declaration
public string[] SortRemoveWords { get; set; }
Property Value
Type |
Description |
System.String[] |
The sort remove words.
|
Declaration
public bool TvChannelsRefreshed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string UICulture { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string[] UninstalledPlugins { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Declaration
public bool VacuumDatabaseOnStartup { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string WanDdns { get; set; }
Property Value
Type |
Description |
System.String |
|
Extension Methods