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