@jellyfin/sdk
    Preparing search index...

    Interface ServerConfiguration

    Represents the server configuration.

    interface ServerConfiguration {
        ActivityLogRetentionDays?: number | null;
        AllowClientLogUpload?: boolean;
        CachePath?: string | null;
        CacheSize?: number;
        CastReceiverApplications?: CastReceiverApplication[];
        ChapterImageResolution?: ImageResolution;
        CodecsUsed?: string[];
        ContentTypes?: NameValuePair[];
        CorsHosts?: string[];
        DisableLiveTvChannelUserDataName?: boolean;
        DisplaySpecialsWithinSeasons?: boolean;
        DummyChapterDuration?: number;
        EnableCaseSensitiveItemIds?: boolean;
        EnableExternalContentInSuggestions?: boolean;
        EnableFolderView?: boolean;
        EnableGroupingMoviesIntoCollections?: boolean;
        EnableGroupingShowsIntoCollections?: boolean;
        EnableLegacyAuthorization?: boolean;
        EnableMetrics?: boolean;
        EnableNormalizedItemByNameIds?: boolean;
        EnableSlowResponseWarning?: boolean;
        ImageExtractionTimeoutMs?: number;
        ImageSavingConvention?: ImageSavingConvention;
        InactiveSessionThreshold?: number;
        IsPortAuthorized?: boolean;
        IsStartupWizardCompleted?: boolean;
        LibraryMetadataRefreshConcurrency?: number;
        LibraryMonitorDelay?: number;
        LibraryScanFanoutConcurrency?: number;
        LibraryUpdateDuration?: number;
        LogFileRetentionDays?: number;
        MaxAudiobookResume?: number;
        MaxResumePct?: number;
        MetadataCountryCode?: string;
        MetadataOptions?: MetadataOptions[];
        MetadataPath?: string;
        MinAudiobookResume?: number;
        MinResumeDurationSeconds?: number;
        MinResumePct?: number;
        ParallelImageEncodingLimit?: number;
        PathSubstitutions?: PathSubstitution[];
        PluginRepositories?: RepositoryInfo[];
        PreferredMetadataLanguage?: string;
        PreviousVersion?: string | null;
        PreviousVersionStr?: string | null;
        QuickConnectAvailable?: boolean;
        RemoteClientBitrateLimit?: number;
        SaveMetadataHidden?: boolean;
        ServerName?: string;
        SkipDeserializationForBasicTypes?: boolean;
        SlowResponseThresholdMs?: number;
        SortRemoveCharacters?: string[];
        SortRemoveWords?: string[];
        SortReplaceCharacters?: string[];
        TrickplayOptions?: TrickplayOptions;
        UICulture?: string;
    }
    Index

    Properties

    ActivityLogRetentionDays?: number | null

    Gets or sets the number of days we should retain activity logs.

    AllowClientLogUpload?: boolean

    Gets or sets a value indicating whether clients should be allowed to upload logs.

    CachePath?: string | null

    Gets or sets the cache path.

    CacheSize?: number

    Gets or sets the maximum amount of items to cache.

    CastReceiverApplications?: CastReceiverApplication[]

    Gets or sets the list of cast receiver applications.

    ChapterImageResolution?: ImageResolution
    CodecsUsed?: string[]
    ContentTypes?: NameValuePair[]
    CorsHosts?: string[]

    Gets or sets the cors hosts.

    DisableLiveTvChannelUserDataName?: boolean
    DisplaySpecialsWithinSeasons?: boolean
    DummyChapterDuration?: number

    Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation altogether.

    EnableCaseSensitiveItemIds?: boolean

    Gets or sets a value indicating whether [enable case-sensitive item ids].

    EnableExternalContentInSuggestions?: boolean
    EnableFolderView?: boolean
    EnableGroupingMoviesIntoCollections?: boolean
    EnableGroupingShowsIntoCollections?: boolean
    EnableLegacyAuthorization?: boolean

    Gets or sets a value indicating whether old authorization methods are allowed.

    EnableMetrics?: boolean

    Gets or sets a value indicating whether to enable prometheus metrics exporting.

    EnableNormalizedItemByNameIds?: boolean
    EnableSlowResponseWarning?: boolean

    Gets or sets a value indicating whether slow server responses should be logged as a warning.

    ImageExtractionTimeoutMs?: number
    ImageSavingConvention?: ImageSavingConvention
    InactiveSessionThreshold?: number

    Gets or sets the threshold in minutes after a inactive session gets closed automatically. If set to 0 the check for inactive sessions gets disabled.

    IsPortAuthorized?: boolean

    Gets or sets a value indicating whether this instance is port authorized.

    IsStartupWizardCompleted?: boolean

    Gets or sets a value indicating whether this instance is first run.

    LibraryMetadataRefreshConcurrency?: number

    Gets or sets the how many metadata refreshes can run concurrently.

    LibraryMonitorDelay?: number

    Gets or sets 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.

    LibraryScanFanoutConcurrency?: number

    Gets or sets the how the library scan fans out.

    LibraryUpdateDuration?: number

    Gets or sets the duration in seconds that we will wait after a library updated event before executing the library changed notification.

    LogFileRetentionDays?: number

    Gets or sets the number of days we should retain log files.

    MaxAudiobookResume?: number

    Gets or sets the remaining minutes of a book that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched.

    MaxResumePct?: number

    Gets or sets the maximum percentage of an item that can be played while still saving playstate. If this percentage is crossed playstate will be reset to the beginning and the item will be marked watched.

    MetadataCountryCode?: string

    Gets or sets the metadata country code.

    MetadataOptions?: MetadataOptions[]
    MetadataPath?: string

    Gets or sets the metadata path.

    MinAudiobookResume?: number

    Gets or sets the minimum minutes of a book that must be played in order for playstate to be updated.

    MinResumeDurationSeconds?: number

    Gets or sets the minimum duration that an item must have in order to be eligible for playstate updates..

    MinResumePct?: number

    Gets or sets the minimum percentage of an item that must be played in order for playstate to be updated.

    ParallelImageEncodingLimit?: number

    Gets or sets the limit for parallel image encoding.

    PathSubstitutions?: PathSubstitution[]
    PluginRepositories?: RepositoryInfo[]
    PreferredMetadataLanguage?: string

    Gets or sets the preferred metadata language.

    PreviousVersion?: string | null

    Gets or sets the last known version that was ran using the configuration.

    PreviousVersionStr?: string | null

    Gets or sets the stringified PreviousVersion to be stored/loaded, because System.Version itself isn't xml-serializable.

    QuickConnectAvailable?: boolean

    Gets or sets a value indicating whether quick connect is available for use on this server.

    RemoteClientBitrateLimit?: number
    SaveMetadataHidden?: boolean
    ServerName?: string
    SkipDeserializationForBasicTypes?: boolean
    SlowResponseThresholdMs?: number

    Gets or sets the threshold for the slow response time warning in ms.

    SortRemoveCharacters?: string[]

    Gets or sets characters to be removed from strings to create a sort name.

    SortRemoveWords?: string[]

    Gets or sets words to be removed from strings to create a sort name.

    SortReplaceCharacters?: string[]

    Gets or sets characters to be replaced with a ' ' in strings to create a sort name.

    TrickplayOptions?: TrickplayOptions
    UICulture?: string