aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Devices/DeviceService.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/Devices/DeviceService.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/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;