aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ConfigurationOptions.cs
blob: e8601051339e9e74dce53a576a86b7094820cd03 (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
using System.Collections.Generic;
using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;

namespace Emby.Server.Implementations
{
    /// <summary>
    /// Static class containing the default configuration options for the web server.
    /// </summary>
    public static class ConfigurationOptions
    {
        /// <summary>
        /// Gets a new copy of the default configuration options.
        /// </summary>
        public static Dictionary<string, string?> DefaultConfiguration => new()
        {
            { HostWebClientKey, bool.TrueString },
            { DefaultRedirectKey, "web/" },
            { FfmpegProbeSizeKey, "1G" },
            { FfmpegAnalyzeDurationKey, "200M" },
            { PlaylistsAllowDuplicatesKey, bool.FalseString },
            { BindToUnixSocketKey, bool.FalseString },
            { SqliteCacheSizeKey, "20000" },
            { FfmpegSkipValidationKey, bool.FalseString }
        };
    }
}