2
0

ConfigurationOptions.cs 930 B

12345678910111213141516171819202122232425
  1. using System.Collections.Generic;
  2. using Emby.Server.Implementations.HttpServer;
  3. using Emby.Server.Implementations.Updates;
  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. { HostWebClientKey, bool.TrueString },
  18. { HttpListenerHost.DefaultRedirectKey, "web/index.html" },
  19. { FfmpegProbeSizeKey, "1G" },
  20. { FfmpegAnalyzeDurationKey, "200M" },
  21. { PlaylistsAllowDuplicatesKey, bool.TrueString }
  22. };
  23. }
  24. }