mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-28 04:51:54 +00:00
remove probing of live tv feeds
This commit is contained in:
@@ -54,7 +54,7 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||
|
||||
if (IsValid(address))
|
||||
{
|
||||
((ConnectManager) _connectManager).OnWanAddressResolved(address);
|
||||
((ConnectManager)_connectManager).OnWanAddressResolved(address);
|
||||
CacheAddress(address);
|
||||
}
|
||||
}
|
||||
@@ -115,7 +115,14 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||
private bool IsValid(string address)
|
||||
{
|
||||
IPAddress ipAddress;
|
||||
return IPAddress.TryParse(address, out ipAddress);
|
||||
var valid = IPAddress.TryParse(address, out ipAddress);
|
||||
|
||||
if (!valid)
|
||||
{
|
||||
_logger.Error("{0} is not a valid ip address", address);
|
||||
}
|
||||
|
||||
return valid;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in New Issue
Block a user