diff options
| author | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-02-28 17:57:38 +0100 |
|---|---|---|
| committer | Mark Monteiro <marknr.monteiro@protonmail.com> | 2020-02-28 17:57:38 +0100 |
| commit | 3043b7323b1a12e888ba8c4eb71f904724f43e3a (patch) | |
| tree | d1e236d88804fb7369efd8c7910babbf8f7eea69 /Emby.Server.Implementations/ConfigurationOptions.cs | |
| parent | d95ccbacac7df20ab445e73dd9405ec1391c7a7a (diff) | |
Use constants for settings keys
Diffstat (limited to 'Emby.Server.Implementations/ConfigurationOptions.cs')
| -rw-r--r-- | Emby.Server.Implementations/ConfigurationOptions.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs index 456484813..cc0d314ed 100644 --- a/Emby.Server.Implementations/ConfigurationOptions.cs +++ b/Emby.Server.Implementations/ConfigurationOptions.cs @@ -1,4 +1,6 @@ using System.Collections.Generic; +using Emby.Server.Implementations.HttpServer; +using MediaBrowser.Providers.Music; using static MediaBrowser.Controller.Extensions.ConfigurationExtensions; namespace Emby.Server.Implementations @@ -13,8 +15,8 @@ namespace Emby.Server.Implementations /// </summary> public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string> { - { "HttpListenerHost:DefaultRedirectPath", "web/index.html" }, - { "MusicBrainz:BaseUrl", "https://www.musicbrainz.org" }, + { HttpListenerHost.DefaultRedirectKey, "web/index.html" }, + { MusicBrainzAlbumProvider.BaseUrlKey, "https://www.musicbrainz.org" }, { FfmpegProbeSizeKey, "1G" }, { FfmpegAnalyzeDurationKey, "200M" } }; |
