aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/System/SystemService.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-12-10 22:11:32 +0900
committerGitHub <noreply@github.com>2019-12-10 22:11:32 +0900
commitb5d0bd0d764982c8df2c341c1f38c4d0636409c3 (patch)
treebaf1619a8fdb663d571d06f00b2fbbd5e8d0947a /MediaBrowser.Api/System/SystemService.cs
parent1b5da55ae554176f272b956402671170cce3817b (diff)
parent5f6bca8aeb23064a2d81c25d72ae317364959232 (diff)
Merge pull request #2020 from Bond-009/baseurl
Add support for multi segment base urls
Diffstat (limited to 'MediaBrowser.Api/System/SystemService.cs')
-rw-r--r--MediaBrowser.Api/System/SystemService.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/MediaBrowser.Api/System/SystemService.cs b/MediaBrowser.Api/System/SystemService.cs
index 56184e18b..3a56ba701 100644
--- a/MediaBrowser.Api/System/SystemService.cs
+++ b/MediaBrowser.Api/System/SystemService.cs
@@ -7,6 +7,7 @@ using System.Threading.Tasks;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller;
+using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.IO;
using MediaBrowser.Model.Net;
@@ -103,13 +104,19 @@ namespace MediaBrowser.Api.System
/// Initializes a new instance of the <see cref="SystemService" /> class.
/// </summary>
/// <param name="appHost">The app host.</param>
- /// <param name="appPaths">The application paths.</param>
/// <param name="fileSystem">The file system.</param>
/// <exception cref="ArgumentNullException">jsonSerializer</exception>
- public SystemService(IServerApplicationHost appHost, IApplicationPaths appPaths, IFileSystem fileSystem, INetworkManager network)
+ public SystemService(
+ ILogger<SystemService> logger,
+ IServerConfigurationManager serverConfigurationManager,
+ IHttpResultFactory httpResultFactory,
+ IServerApplicationHost appHost,
+ IFileSystem fileSystem,
+ INetworkManager network)
+ : base(logger, serverConfigurationManager, httpResultFactory)
{
+ _appPaths = serverConfigurationManager.ApplicationPaths;
_appHost = appHost;
- _appPaths = appPaths;
_fileSystem = fileSystem;
_network = network;
}