diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-04 04:31:05 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-04 04:31:05 -0400 |
| commit | 6d250c4050ceb0bda33aad6a484fd05e508c4e27 (patch) | |
| tree | 9776c6fe796bcbbea2d753ddd78d925a5645d69a /Emby.Dlna/ConnectionManager/ControlHandler.cs | |
| parent | c29394a81a8d00e16e2706850ae9127933e73cda (diff) | |
make dlna project portable
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; + } } } |
