aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-02 15:56:25 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-02 15:56:25 -0500
commitfcc26d54536f3bb67ae4dde19c5230ae96d59afa (patch)
tree306a1b6639f341e4baa62eaf13e4f17483fbbd7f
parent9776ca09db59a1e382045a072813a29cf07cadb3 (diff)
fix tuner method
-rw-r--r--Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs4
1 files changed, 3 insertions, 1 deletions
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<LiveTvTunerInfo>();
+ 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)
{