ConfigurationOptions.cs 1.1 KB

123456789101112131415161718192021222324252627
  1. using System.Collections.Generic;
  2. using Emby.Server.Implementations.HttpServer;
  3. using Emby.Server.Implementations.Updates;
  4. using MediaBrowser.Providers.Music;
  5. using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
  6. namespace Emby.Server.Implementations
  7. {
  8. /// <summary>
  9. /// Static class containing the default configuration options for the web server.
  10. /// </summary>
  11. public static class ConfigurationOptions
  12. {
  13. /// <summary>
  14. /// Gets a new copy of the default configuration options.
  15. /// </summary>
  16. public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string>
  17. {
  18. { HostWebClientKey, bool.TrueString },
  19. { HttpListenerHost.DefaultRedirectKey, "web/index.html" },
  20. { InstallationManager.PluginManifestUrlKey, "https://repo.jellyfin.org/releases/plugin/manifest-stable.json" },
  21. { FfmpegProbeSizeKey, "1G" },
  22. { FfmpegAnalyzeDurationKey, "200M" },
  23. { PlaylistsAllowDuplicatesKey, bool.TrueString }
  24. };
  25. }
  26. }