ConfigurationOptions.cs 959 B

1234567891011121314151617181920212223242526
  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. { SqliteDisableSecondLevelCacheKey, bool.FalseString }
  23. };
  24. }
  25. }