ConfigurationOptions.cs 861 B

123456789101112131415161718192021222324
  1. using System.Collections.Generic;
  2. using Emby.Server.Implementations.HttpServer;
  3. using MediaBrowser.Providers.Music;
  4. using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
  5. namespace Emby.Server.Implementations
  6. {
  7. /// <summary>
  8. /// Static class containing the default configuration options for the web server.
  9. /// </summary>
  10. public static class ConfigurationOptions
  11. {
  12. /// <summary>
  13. /// Gets a new copy of the default configuration options.
  14. /// </summary>
  15. public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string>
  16. {
  17. { NoWebContentKey, bool.FalseString },
  18. { HttpListenerHost.DefaultRedirectKey, "web/index.html" },
  19. { FfmpegProbeSizeKey, "1G" },
  20. { FfmpegAnalyzeDurationKey, "200M" }
  21. };
  22. }
  23. }