@ -92,7 +92,7 @@ namespace MediaBrowser.Dlna.Ssdp
{
{
TimeSpan delay = GetSearchDelay ( headers ) ;
TimeSpan delay = GetSearchDelay ( headers ) ;
if ( _config . GetDlnaConfiguration ( ) . EnableDebugLog ging )
if ( _config . GetDlnaConfiguration ( ) . EnableDebugLog )
{
{
_logger . Debug ( "Delaying search response by {0} seconds" , delay . TotalSeconds ) ;
_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 msg = new SsdpMessageBuilder ( ) . BuildMessage ( header , values ) ;
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ging ;
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ;
for ( var i = 0 ; i < sendCount ; i + + )
for ( var i = 0 ; i < sendCount ; i + + )
{
{
@ -202,7 +202,7 @@ namespace MediaBrowser.Dlna.Ssdp
private void RespondToSearch ( EndPoint endpoint , string deviceType )
private void RespondToSearch ( EndPoint endpoint , string deviceType )
{
{
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ging ;
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ;
var isLogged = false ;
var isLogged = false ;
@ -305,7 +305,7 @@ namespace MediaBrowser.Dlna.Ssdp
var received = ( byte [ ] ) result . AsyncState ;
var received = ( byte [ ] ) result . AsyncState ;
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ging ;
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ;
if ( enableDebugLogging )
if ( enableDebugLogging )
{
{
@ -404,7 +404,7 @@ namespace MediaBrowser.Dlna.Ssdp
private void NotifyAll ( )
private void NotifyAll ( )
{
{
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ging ;
var enableDebugLogging = _config . GetDlnaConfiguration ( ) . EnableDebugLog ;
if ( enableDebugLogging )
if ( enableDebugLogging )
{
{