ConfigurationOptions.cs 926 B

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