From fcc26d54536f3bb67ae4dde19c5230ae96d59afa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 2 Mar 2017 15:56:25 -0500 Subject: [PATCH] fix tuner method --- .../LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs index a847d7430..00983128f 100644 --- a/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs +++ b/Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs @@ -167,10 +167,12 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun var tuners = new List(); + var uri = new Uri(info.Url); + using (var manager = new HdHomerunManager(_socketFactory)) { // Legacy HdHomeruns are IPv4 only - var ipInfo = new IpAddressInfo(info.Url, IpAddressFamily.InterNetwork); + var ipInfo = new IpAddressInfo(uri.Host, IpAddressFamily.InterNetwork); for (int i = 0; i < model.TunerCount; ++i) {