update video osd
This commit is contained in:
parent
95ceddb7d9
commit
6e42398f9e
|
@ -1512,7 +1512,8 @@ namespace Emby.Server.Implementations.Dto
|
||||||
return artist;
|
return artist;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return item.GetParent();
|
|
||||||
|
return item.DisplayParent ?? item.GetParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddInheritedImages(BaseItemDto dto, BaseItem item, DtoOptions options, BaseItem owner)
|
private void AddInheritedImages(BaseItemDto dto, BaseItem item, DtoOptions options, BaseItem owner)
|
||||||
|
|
|
@ -135,6 +135,8 @@ namespace Mono.Nat.Pmp
|
||||||
private async void CreatePortMapListen(UdpClient udpClient, Mapping mapping, CancellationToken cancellationToken)
|
private async void CreatePortMapListen(UdpClient udpClient, Mapping mapping, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
while (!cancellationToken.IsCancellationRequested)
|
while (!cancellationToken.IsCancellationRequested)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
var result = await udpClient.ReceiveAsync().ConfigureAwait(false);
|
var result = await udpClient.ReceiveAsync().ConfigureAwait(false);
|
||||||
var endPoint = result.RemoteEndPoint;
|
var endPoint = result.RemoteEndPoint;
|
||||||
|
@ -187,6 +189,12 @@ namespace Mono.Nat.Pmp
|
||||||
mapping.Expiration = DateTime.Now.AddSeconds(lifetime);
|
mapping.Expiration = DateTime.Now.AddSeconds(lifetime);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
NatUtility.Logger.ErrorException("Error in CreatePortMapListen", ex);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user