fix tuner method
This commit is contained in:
parent
9776ca09db
commit
fcc26d5453
|
@ -167,10 +167,12 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
|
||||||
|
|
||||||
var tuners = new List<LiveTvTunerInfo>();
|
var tuners = new List<LiveTvTunerInfo>();
|
||||||
|
|
||||||
|
var uri = new Uri(info.Url);
|
||||||
|
|
||||||
using (var manager = new HdHomerunManager(_socketFactory))
|
using (var manager = new HdHomerunManager(_socketFactory))
|
||||||
{
|
{
|
||||||
// Legacy HdHomeruns are IPv4 only
|
// 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)
|
for (int i = 0; i < model.TunerCount; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user