ConfigurationOptions.cs 1011 B

123456789101112131415161718192021222324252627
  1. using System.Collections.Generic;
  2. using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
  3. namespace Emby.Server.Implementations
  4. {
  5. /// <summary>
  6. /// Static class containing the default configuration options for the web server.
  7. /// </summary>
  8. public static class ConfigurationOptions
  9. {
  10. /// <summary>
  11. /// Gets a new copy of the default configuration options.
  12. /// </summary>
  13. public static Dictionary<string, string?> DefaultConfiguration => new()
  14. {
  15. { HostWebClientKey, bool.TrueString },
  16. { DefaultRedirectKey, "web/" },
  17. { FfmpegProbeSizeKey, "1G" },
  18. { FfmpegAnalyzeDurationKey, "200M" },
  19. { BindToUnixSocketKey, bool.FalseString },
  20. { SqliteCacheSizeKey, "20000" },
  21. { FfmpegSkipValidationKey, bool.FalseString },
  22. { FfmpegImgExtractPerfTradeoffKey, bool.FalseString },
  23. { DetectNetworkChangeKey, bool.TrueString }
  24. };
  25. }
  26. }