diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-12-18 08:54:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-18 08:54:40 +0900 |
| commit | bc7cbfb21aced3ad72ddd98183ad457e50b48dc8 (patch) | |
| tree | e9766356fdc2106874f491deab5b67a0964f5a35 /Emby.Server.Implementations/ConfigurationOptions.cs | |
| parent | 0f444c21e9d2e2e8dbb4c454cc7d3dc467de8d32 (diff) | |
| parent | 6464bca791b515cac3059fd6e166149b18b5086f (diff) | |
Merge pull request #1941 from Bond-009/mediaencoding
Make probesize and analyzeduration configurable and simplify circular dependencies
Diffstat (limited to 'Emby.Server.Implementations/ConfigurationOptions.cs')
| -rw-r--r-- | Emby.Server.Implementations/ConfigurationOptions.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs index 62408ee70..2ea7ff6e9 100644 --- a/Emby.Server.Implementations/ConfigurationOptions.cs +++ b/Emby.Server.Implementations/ConfigurationOptions.cs @@ -1,13 +1,16 @@ using System.Collections.Generic; +using static MediaBrowser.Controller.Extensions.ConfigurationExtensions; namespace Emby.Server.Implementations { public static class ConfigurationOptions { - public static readonly Dictionary<string, string> Configuration = new Dictionary<string, string> + public static Dictionary<string, string> Configuration => new Dictionary<string, string> { { "HttpListenerHost:DefaultRedirectPath", "web/index.html" }, - { "MusicBrainz:BaseUrl", "https://www.musicbrainz.org" } + { "MusicBrainz:BaseUrl", "https://www.musicbrainz.org" }, + { FfmpegProbeSizeKey, "1G" }, + { FfmpegAnalyzeDurationKey, "200M" } }; } } |
