aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/ConnectionManager/ControlHandler.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-11-04 10:10:05 -0400
committerGitHub <noreply@github.com>2016-11-04 10:10:05 -0400
commitca653f00e63b380629ce5d37fd6b9b92aa68d07a (patch)
tree0e6ee71a50bc2875b22300e5da2653405fb65960 /Emby.Dlna/ConnectionManager/ControlHandler.cs
parent88a39a1c18fe4dc301c77e12a1f8b10a07435528 (diff)
parenta7b11c8ee952ca43fe949ab4f1b6577e94ce6bba (diff)
Merge pull request #2273 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Dlna/ConnectionManager/ControlHandler.cs')
-rw-r--r--Emby.Dlna/ConnectionManager/ControlHandler.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Dlna/ConnectionManager/ControlHandler.cs b/Emby.Dlna/ConnectionManager/ControlHandler.cs
index e9af5cd1d..0bc44db17 100644
--- a/Emby.Dlna/ConnectionManager/ControlHandler.cs
+++ b/Emby.Dlna/ConnectionManager/ControlHandler.cs
@@ -6,6 +6,7 @@ using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Logging;
using System;
using System.Collections.Generic;
+using MediaBrowser.Model.Xml;
namespace Emby.Dlna.ConnectionManager
{
@@ -13,12 +14,6 @@ namespace Emby.Dlna.ConnectionManager
{
private readonly DeviceProfile _profile;
- public ControlHandler(ILogger logger, DeviceProfile profile, IServerConfigurationManager config)
- : base(config, logger)
- {
- _profile = profile;
- }
-
protected override IEnumerable<KeyValuePair<string, string>> GetResult(string methodName, Headers methodParams)
{
if (string.Equals(methodName, "GetProtocolInfo", StringComparison.OrdinalIgnoreCase))
@@ -37,5 +32,10 @@ namespace Emby.Dlna.ConnectionManager
{ "Sink", "" }
};
}
+
+ public ControlHandler(IServerConfigurationManager config, ILogger logger, IXmlReaderSettingsFactory xmlReaderSettingsFactory, DeviceProfile profile) : base(config, logger, xmlReaderSettingsFactory)
+ {
+ _profile = profile;
+ }
}
}