ConfigurationOptions.cs 882 B

123456789101112131415161718192021222324
  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 Dictionary<string, string?>
  14. {
  15. { HostWebClientKey, bool.TrueString },
  16. { DefaultRedirectKey, "web/index.html" },
  17. { FfmpegProbeSizeKey, "1G" },
  18. { FfmpegAnalyzeDurationKey, "200M" },
  19. { PlaylistsAllowDuplicatesKey, bool.FalseString },
  20. { BindToUnixSocketKey, bool.FalseString }
  21. };
  22. }
  23. }