aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Devices/DeviceService.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/Devices/DeviceService.cs
parente7098f1997ee74eb3bdaad33836839ace6d80f64 (diff)
* Add support for multi segment base urls
* Make baseurl case-insensitive
Diffstat (limited to 'MediaBrowser.Api/Devices/DeviceService.cs')
-rw-r--r--MediaBrowser.Api/Devices/DeviceService.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Devices/DeviceService.cs b/MediaBrowser.Api/Devices/DeviceService.cs
index 697a84f5c..8b63decd2 100644
--- a/MediaBrowser.Api/Devices/DeviceService.cs
+++ b/MediaBrowser.Api/Devices/DeviceService.cs
@@ -1,6 +1,6 @@
-using System;
using System.IO;
using System.Threading.Tasks;
+using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Devices;
using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Security;
@@ -8,6 +8,7 @@ using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Devices;
using MediaBrowser.Model.Querying;
using MediaBrowser.Model.Services;
+using Microsoft.Extensions.Logging;
namespace MediaBrowser.Api.Devices
{
@@ -81,7 +82,14 @@ namespace MediaBrowser.Api.Devices
private readonly IAuthenticationRepository _authRepo;
private readonly ISessionManager _sessionManager;
- public DeviceService(IDeviceManager deviceManager, IAuthenticationRepository authRepo, ISessionManager sessionManager)
+ public DeviceService(
+ ILogger<DeviceService> logger,
+ IServerConfigurationManager serverConfigurationManager,
+ IHttpResultFactory httpResultFactory,
+ IDeviceManager deviceManager,
+ IAuthenticationRepository authRepo,
+ ISessionManager sessionManager)
+ : base(logger, serverConfigurationManager, httpResultFactory)
{
_deviceManager = deviceManager;
_authRepo = authRepo;