diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-11-17 23:05:39 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-11-25 11:55:24 +0100 |
| commit | 3221e837f9758e90b91f0f6760af1c3b67e04c2d (patch) | |
| tree | 1b0910d5b4a952def733728cd5faa9a4f3cee504 /MediaBrowser.Api/DisplayPreferencesService.cs | |
| parent | e7098f1997ee74eb3bdaad33836839ace6d80f64 (diff) | |
* Add support for multi segment base urls
* Make baseurl case-insensitive
Diffstat (limited to 'MediaBrowser.Api/DisplayPreferencesService.cs')
| -rw-r--r-- | MediaBrowser.Api/DisplayPreferencesService.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/MediaBrowser.Api/DisplayPreferencesService.cs b/MediaBrowser.Api/DisplayPreferencesService.cs index d56023fe2..62c4ff43f 100644 --- a/MediaBrowser.Api/DisplayPreferencesService.cs +++ b/MediaBrowser.Api/DisplayPreferencesService.cs @@ -1,9 +1,11 @@ using System.Threading; +using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Persistence; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Serialization; using MediaBrowser.Model.Services; +using Microsoft.Extensions.Logging; namespace MediaBrowser.Api { @@ -61,7 +63,13 @@ namespace MediaBrowser.Api /// </summary> /// <param name="jsonSerializer">The json serializer.</param> /// <param name="displayPreferencesManager">The display preferences manager.</param> - public DisplayPreferencesService(IJsonSerializer jsonSerializer, IDisplayPreferencesRepository displayPreferencesManager) + public DisplayPreferencesService( + ILogger<DisplayPreferencesService> logger, + IServerConfigurationManager serverConfigurationManager, + IHttpResultFactory httpResultFactory, + IJsonSerializer jsonSerializer, + IDisplayPreferencesRepository displayPreferencesManager) + : base(logger, serverConfigurationManager, httpResultFactory) { _jsonSerializer = jsonSerializer; _displayPreferencesManager = displayPreferencesManager; |
