ConfigurationOptions.cs 891 B

12345678910111213141516171819202122232425
  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. { PlaylistsAllowDuplicatesKey, bool.FalseString },
  20. { BindToUnixSocketKey, bool.FalseString },
  21. { SqliteCacheSizeKey, "20000" }
  22. };
  23. }
  24. }