aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-02-11 23:33:14 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-02-11 23:33:14 -0500
commite04582c9d2c0e0081ff717e07d6b164205cefd74 (patch)
tree6b2000d4222baa93ca6edf0691becf25b109a839
parent865524da65e13392f2fda94b0c3d9e7c873480e3 (diff)
update config pages
-rw-r--r--MediaBrowser.Dlna/PlayTo/SsdpHttpClient.cs2
-rw-r--r--MediaBrowser.Dlna/Service/BaseControlHandler.cs2
-rw-r--r--MediaBrowser.Dlna/Ssdp/DeviceDiscovery.cs2
-rw-r--r--MediaBrowser.Dlna/Ssdp/SsdpHandler.cs10
-rw-r--r--MediaBrowser.Model/Configuration/DlnaOptions.cs2
5 files changed, 9 insertions, 9 deletions
diff --git a/MediaBrowser.Dlna/PlayTo/SsdpHttpClient.cs b/MediaBrowser.Dlna/PlayTo/SsdpHttpClient.cs
index ab6674afc..ff4223c72 100644
--- a/MediaBrowser.Dlna/PlayTo/SsdpHttpClient.cs
+++ b/MediaBrowser.Dlna/PlayTo/SsdpHttpClient.cs
@@ -114,7 +114,7 @@ namespace MediaBrowser.Dlna.PlayTo
{
Url = url,
UserAgent = USERAGENT,
- LogRequest = logRequest || _config.GetDlnaConfiguration().EnableDebugLogging,
+ LogRequest = logRequest || _config.GetDlnaConfiguration().EnableDebugLog,
LogErrorResponseBody = true
};
diff --git a/MediaBrowser.Dlna/Service/BaseControlHandler.cs b/MediaBrowser.Dlna/Service/BaseControlHandler.cs
index a65520d65..c5de76eb5 100644
--- a/MediaBrowser.Dlna/Service/BaseControlHandler.cs
+++ b/MediaBrowser.Dlna/Service/BaseControlHandler.cs
@@ -27,7 +27,7 @@ namespace MediaBrowser.Dlna.Service
{
try
{
- var enableDebugLogging = Config.GetDlnaConfiguration().EnableDebugLogging;
+ var enableDebugLogging = Config.GetDlnaConfiguration().EnableDebugLog;
if (enableDebugLogging)
{
diff --git a/MediaBrowser.Dlna/Ssdp/DeviceDiscovery.cs b/MediaBrowser.Dlna/Ssdp/DeviceDiscovery.cs
index ed3698e43..4f7dffdd9 100644
--- a/MediaBrowser.Dlna/Ssdp/DeviceDiscovery.cs
+++ b/MediaBrowser.Dlna/Ssdp/DeviceDiscovery.cs
@@ -217,7 +217,7 @@ namespace MediaBrowser.Dlna.Ssdp
return;
}
- if (_config.GetDlnaConfiguration().EnableDebugLogging)
+ if (_config.GetDlnaConfiguration().EnableDebugLog)
{
var headerTexts = args.Headers.Select(i => string.Format("{0}={1}", i.Key, i.Value));
var headerText = string.Join(",", headerTexts.ToArray());
diff --git a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs
index f800a12c1..d755d2f58 100644
--- a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs
+++ b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs
@@ -92,7 +92,7 @@ namespace MediaBrowser.Dlna.Ssdp
{
TimeSpan delay = GetSearchDelay(headers);
- if (_config.GetDlnaConfiguration().EnableDebugLogging)
+ if (_config.GetDlnaConfiguration().EnableDebugLog)
{
_logger.Debug("Delaying search response by {0} seconds", delay.TotalSeconds);
}
@@ -163,7 +163,7 @@ namespace MediaBrowser.Dlna.Ssdp
{
var msg = new SsdpMessageBuilder().BuildMessage(header, values);
- var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLogging;
+ var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLog;
for (var i = 0; i < sendCount; i++)
{
@@ -202,7 +202,7 @@ namespace MediaBrowser.Dlna.Ssdp
private void RespondToSearch(EndPoint endpoint, string deviceType)
{
- var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLogging;
+ var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLog;
var isLogged = false;
@@ -305,7 +305,7 @@ namespace MediaBrowser.Dlna.Ssdp
var received = (byte[])result.AsyncState;
- var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLogging;
+ var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLog;
if (enableDebugLogging)
{
@@ -404,7 +404,7 @@ namespace MediaBrowser.Dlna.Ssdp
private void NotifyAll()
{
- var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLogging;
+ var enableDebugLogging = _config.GetDlnaConfiguration().EnableDebugLog;
if (enableDebugLogging)
{
diff --git a/MediaBrowser.Model/Configuration/DlnaOptions.cs b/MediaBrowser.Model/Configuration/DlnaOptions.cs
index c1974b877..6eaf01c4a 100644
--- a/MediaBrowser.Model/Configuration/DlnaOptions.cs
+++ b/MediaBrowser.Model/Configuration/DlnaOptions.cs
@@ -5,7 +5,7 @@ namespace MediaBrowser.Model.Configuration
{
public bool EnablePlayTo { get; set; }
public bool EnableServer { get; set; }
- public bool EnableDebugLogging { get; set; }
+ public bool EnableDebugLog { get; set; }
public bool BlastAliveMessages { get; set; }
public int ClientDiscoveryIntervalSeconds { get; set; }
public int BlastAliveMessageIntervalSeconds { get; set; }