diff options
Diffstat (limited to 'Emby.Dlna/ConnectionManager/ControlHandler.cs')
| -rw-r--r-- | Emby.Dlna/ConnectionManager/ControlHandler.cs | 12 |
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; + } } } |
