aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/PackageService.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-11-17 23:05:39 +0100
committerBond-009 <bond.009@outlook.com>2019-11-25 11:55:24 +0100
commit3221e837f9758e90b91f0f6760af1c3b67e04c2d (patch)
tree1b0910d5b4a952def733728cd5faa9a4f3cee504 /MediaBrowser.Api/PackageService.cs
parente7098f1997ee74eb3bdaad33836839ace6d80f64 (diff)
* Add support for multi segment base urls
* Make baseurl case-insensitive
Diffstat (limited to 'MediaBrowser.Api/PackageService.cs')
-rw-r--r--MediaBrowser.Api/PackageService.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/MediaBrowser.Api/PackageService.cs b/MediaBrowser.Api/PackageService.cs
index 1e5a93210..b0333eb9c 100644
--- a/MediaBrowser.Api/PackageService.cs
+++ b/MediaBrowser.Api/PackageService.cs
@@ -2,14 +2,14 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
-using System.Threading;
using System.Threading.Tasks;
-using MediaBrowser.Common;
using MediaBrowser.Common.Extensions;
using MediaBrowser.Common.Updates;
+using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.Services;
using MediaBrowser.Model.Updates;
+using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api
{
@@ -118,12 +118,15 @@ namespace MediaBrowser.Api
public class PackageService : BaseApiService
{
private readonly IInstallationManager _installationManager;
- private readonly IApplicationHost _appHost;
- public PackageService(IInstallationManager installationManager, IApplicationHost appHost)
+ public PackageService(
+ ILogger<PackageService> logger,
+ IServerConfigurationManager serverConfigurationManager,
+ IHttpResultFactory httpResultFactory,
+ IInstallationManager installationManager)
+ : base(logger, serverConfigurationManager, httpResultFactory)
{
_installationManager = installationManager;
- _appHost = appHost;
}
/// <summary>