Jump to content

Multiple Live TV Tuners, double channels


manolodf

Recommended Posts

EODCrafter

Does anyone have a tutorial on solving this issue with NPVR? I heard it mentioned that this is a solution, but how exactly?

Link to comment
Share on other sites

hooray4me

This is how we did it with TVHeadend...

 

TVHeadEnd is co-located on the same server as Emby. The Emby server has a couple nics and I dedicated a nic and a small /29 network specifically for the the HDHomeRun Prime tuners.

iface enp9s0f0 inet static

        address 10.50.3.249

        netmask 255.255.255.248

        broadcast 10.50.3.255

        network 10.50.3.248

        up ip route add 10.50.3.248/29 dev enp9s0f0 table enp9s0f0

        up ip route add default via 10.50.3.254 dev enp9s0f0 table enp9s0f0

        up ip rule add from 10.50.3.249/32 table enp9s0f0

        up ip rule add to 10.50.3.249/32 table enp9s0f0

TVHeadend should see the tuners automatically.

You’ll want to go into the tuners ahead of time and favorite the channels you want to see and X the ones you don’t… we filter out all non-HD channels.

5c424fea3a5a4_20190118_150313.jpg

Next you need to create the base of your M3U file. We have 2 tuners so I need to create a file for each one… I name them temporarily with the serial number of the homerun so I can tell them apart and save it to the tmp directory

echo "#EXTM3U" > /tmp/1323B05B.m3u | curl "http://10.50.3.250/lineup.xml"|sed 's/<GuideNumber>/#EXTINF\:<GuideNumber>/g' | sed 's/<\/GuideNumber>/\,<\/GuideNumber>/g' | sed -e 's/<[^>]*>//g' | sed 's/http/\ http/g' | sed 's/http/\nhttp/g' | sed 's/\&amp\;/\&/g' | sed 's/MPEG.*//' | sed 's/H264.*//' >> /tmp/1323B05B.m3u

echo "#EXTM3U" > /tmp/1322A20B.m3u | curl "http://10.50.3.251/lineup.xml"|sed 's/<GuideNumber>/#EXTINF\:<GuideNumber>/g' | sed 's/<\/GuideNumber>/\,<\/GuideNumber>/g' | sed -e 's/<[^>]*>//g' | sed 's/http/\ http/g' | sed 's/http/\nhttp/g' | sed 's/\&amp\;/\&/g' | sed 's/MPEG.*//' | sed 's/H264.*//' >> /tmp/1322A20B.m3u

Next download the files so you can edit them.

The base of the file will look like this:

#EXTM3U

 

#EXTINF:701,WATL_HD

http://10.50.3.251:5004/auto/v701

#EXTINF:702,WSB_ABC

http://10.50.3.251:5004/auto/v702

#EXTINF:703,QVC HD

http://10.50.3.251:5004/auto/v703

 

You will need to edit each one to get it into this format, I use notepad++ and excel

#EXTINF:-1 tvh-chnum="701" m3u-name="WATL_HD",WATL_HD

http://10.50.3.251:5004/auto/v701

#EXTINF:-1 tvh-chnum="702" m3u-name="WSB_ABC",WSB_ABC

http://10.50.3.251:5004/auto/v702

#EXTINF:-1 tvh-chnum="703" m3u-name="QVC HD",QVC_HD

http://10.50.3.251:5004/auto/v703

Next I save each file in a directory on the server named for its serial number and save it as lineup.m3u

/home/hts/.hts/tvheadend/scan/1322A20B/lineup.m3u

/home/hts/.hts/tvheadend/scan/1322B20B/lineup.m3u

In TVheadend create a new IPTV Automatic Network for each tuner.

5c424ff9b639d_20190118_155255.jpg

After it scan each url that was included in the M3U it will create a MUX for it.

 

 

5c425006ac7fb_20190118_155355.jpg

Then you auto map the muxes to the service and it will create the channels

5c425016db1e2_20190118_155908.jpg

 

5c4250271954a_20190118_160003.jpg

  • Like 1
Link to comment
Share on other sites

EODCrafter

Whew...lol @robrhedrick what a mess!

 

I can't even get NPVR to allow another IPTV Source........

5c478047bcdb4_Capture.png

Edited by EODCrafter
Link to comment
Share on other sites

@@EODCrafter, NextPVR still supports IPTV. This wiki page is out of date. 

 

That was actually about something else. The term "IPTV" is used for lots of different types of technologies. Back then NextPVR support unicast/multicast IPTV, as used by some hotels and some cable companies, for use on their own networks. (as opposed to the now more commonly thought of "IPTV", where users are viewing TS/HLS streams across the internet from pirate IPTV providers, which we initially added support for in about v3.8)

 

 

I'll remove that bit of text to remove any confusing in the future.

Link to comment
Share on other sites

EODCrafter

@@EODCrafter, NextPVR still supports IPTV. This wiki page is out of date. 

 

That was actually about something else. The term "IPTV" is used for lots of different types of technologies. Back then NextPVR support unicast/multicast IPTV, as used by some hotels and some cable companies, for use on their own networks. (as opposed to the now more commonly thought of "IPTV", where users are viewing TS/HLS streams across the internet from pirate IPTV providers, which we initially added support for in about v3.8)

 

 

I'll remove that bit of text to remove any confusing in the future.

Ok, Sry, But what about adding more than 1 IPTV Source as been suggested in this thread?

Link to comment
Share on other sites

Ok, Sry, But what about adding more than 1 IPTV Source as been suggested in this thread?

In NextPVR can't you just take the 2nd M3U file and append it to the first file so it's twice as big.

Then after importing it use the group function to combine them?

Edited by cayars
  • Like 1
Link to comment
Share on other sites

EODCrafter

In NextPVR can't you just take the 2nd M3U file and append it to the first file so it'w twice as big.

Then after importing it use the group function to combine them?

I'll try that next time I'm on Windows.......I tried importing it by the m3u file (didn't import, just replaced other one). With all the channel names the same it may be out of the scope of NPVR.

 

I had m3u1 and m3u2...added m3u1, then imported m3u2 and channels were only recognized from m3u2.

Edited by EODCrafter
Link to comment
Share on other sites

Ok, Sry, But what about adding more than 1 IPTV Source as been suggested in this thread?

You can just 'import' button as many times as you want with that one IPTV source. 

Link to comment
Share on other sites

EODCrafter

You can just 'import' button as many times as you want with that one IPTV source. 

I tried that....Didn't recognize 2nd login as a new source, just replaced old one. All the channel names are the same with a different password for stream login.....

Edited by EODCrafter
Link to comment
Share on other sites

EODCrafter

 

htts://go.vaders.iptv/get.php?username=*********@.com&password=*********&type=m3u_plus&output=mpegts

whatever...won't let me post it right......the next streams will have a different password.

 

or I just insert that in a browser and download the m3u's complete but NPVR only accepts one listing I never get the separate listing.

 

Even if I did I suspect it will be double channels which is the original problem we have.

Edited by EODCrafter
Link to comment
Share on other sites

EODCrafter

Here's what the m3u looks like @@sub3

#EXTM3U
#EXTINF:-1 tvg-ID="" tvg-name="AU: Fox NRL League HD" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Fox_Sports_logo1.svg/220px-Fox_Sports_logo1.svg.png" group-title="Sports",AU: Fox NRL League HD
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/53441
#EXTINF:-1 tvg-ID="Ginx Esports CA" tvg-name="CA: Ginx Esports TV" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/GINX_Esports_TV_Logo.png/200px-GINX_Esports_TV_Logo.png" group-title="Sports",CA: Ginx Esports TV
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/53174
#EXTINF:-1 tvg-ID="Golf Channel CA" tvg-name="CA: Golf Channel UHD" tvg-logo="http://cdn.cablefax.com/wp-content/uploads/2014/06/golf-logo.jpg" group-title="Sports",CA: Golf Channel UHD
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/45062
#EXTINF:-1 tvg-ID="Golf Channel CA" tvg-name="CA: Golf Channel" tvg-logo="http://cdn.cablefax.com/wp-content/uploads/2014/06/golf-logo.jpg" group-title="Sports",CA: Golf Channel

We need to link it like this.....and recognize one channel is already in use......probably impossible......

#EXTINF:-1 tvg-ID="" tvg-name="AU: Fox NRL League HD" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Fox_Sports_logo1.svg/220px-Fox_Sports_logo1.svg.png" group-title="Sports",AU: Fox NRL League HD
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/53441
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/987654321/53441
ect......
Edited by EODCrafter
Link to comment
Share on other sites

url is different cause password is in url.

You should be able to do that. I don't have any way to easily test it though. If you want me to give it a quick test with your credentials, you can PM me the two URLS and I'll try to see what happens. 

Link to comment
Share on other sites

EODCrafter

You should be able to do that. I don't have any way to easily test it though. If you want me to give it a quick test with your credentials, you can PM me the two URLS and I'll try to see what happens. 

family watching 1 url in living room.......sry, but thx for your effort. if you log in my account can be termed........they track them by recognized IP addresses now.......Too many people starting there own streaming service using IPTV as their source...lol

Edited by EODCrafter
Link to comment
Share on other sites

family watching 1 url in living room.......sry, but thx for your effort. if you log in my account can be termed........they track them by recognized IP addresses now.......

 

Ok, no worries. (I have look at several other people's vader issues this way without problems in the past)

Link to comment
Share on other sites

EODCrafter

Ok, no worries. (I have look at several other people's vader issues this way without problems in the past)

I don't have vaders...my iptv is very low key.....Vaders offer 5 streams per login anyway...mine only 1.

Edited by EODCrafter
Link to comment
Share on other sites

hooray4me

This is the functionality we're asking for and have been told that it will be coming this year. The only workaround I know is through TVHeadEnd.

 

 

Here's what the m3u looks like @@sub3

#EXTM3U
#EXTINF:-1 tvg-ID="" tvg-name="AU: Fox NRL League HD" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Fox_Sports_logo1.svg/220px-Fox_Sports_logo1.svg.png" group-title="Sports",AU: Fox NRL League HD
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/53441
#EXTINF:-1 tvg-ID="Ginx Esports CA" tvg-name="CA: Ginx Esports TV" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/GINX_Esports_TV_Logo.png/200px-GINX_Esports_TV_Logo.png" group-title="Sports",CA: Ginx Esports TV
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/53174
#EXTINF:-1 tvg-ID="Golf Channel CA" tvg-name="CA: Golf Channel UHD" tvg-logo="http://cdn.cablefax.com/wp-content/uploads/2014/06/golf-logo.jpg" group-title="Sports",CA: Golf Channel UHD
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/45062
#EXTINF:-1 tvg-ID="Golf Channel CA" tvg-name="CA: Golf Channel" tvg-logo="http://cdn.cablefax.com/wp-content/uploads/2014/06/golf-logo.jpg" group-title="Sports",CA: Golf Channel

We need to link it like this.....and recognize one channel is already in use......probably impossible......

#EXTINF:-1 tvg-ID="" tvg-name="AU: Fox NRL League HD" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Fox_Sports_logo1.svg/220px-Fox_Sports_logo1.svg.png" group-title="Sports",AU: Fox NRL League HD
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/123456789/53441
http://go.vaders.iptv:80/joe.blow@[member="gmail"].com/987654321/53441
ect......
Link to comment
Share on other sites

EODCrafter

This is the functionality we're asking for and have been told that it will be coming this year. The only workaround I know is through TVHeadEnd.

I couldn't figure out tvheadend...sry...way too techy. I added my sources and 5 minutes later it recognized 7 services with 18,000 to go...not sure what is was scanning but that would take a month to scan all the services. :)

Edited by EODCrafter
Link to comment
Share on other sites

EODCrafter

We'll custom usage such as this is pretty techy :)

How long did it take to scan all your channels or are you using a tuner card instead of IPTV?

Link to comment
Share on other sites

hooray4me

initial scan in TVHeadend was maybe 10 minutes? 200 channels or so...

 

How long did it take to scan all your channels or are you using a tuner card instead of IPTV?

  • Like 1
Link to comment
Share on other sites

This is the functionality we're asking for and have been told that it will be coming this year. The only workaround I know is through TVHeadEnd.

Good old DVBLink (from DVBLogic) has a perfect solution that I find the most easy, that even non-tech nerds can understand. It has a Channel Merge feature, where you can drag and drop channels of different sources (IPTV, DVB-C etc) into ONE Channel, where the user decides which channel source gets used FIRST by DVBLink when a user opens a channel. The order in this Merge List than decides which Source is used first. So with this you can have multiple sources of a channel that act as one, in whatever media software package you request the channel.

 

5c4848c60895b_DVBLInk_ChannelMerge.png

Info button from screenshot:

On this configuration tab you can merge channels from different signal sources.

Merging channels from different sources into a single logical channel allows DVBLink Server to perform efficient tuner sharing among all its clients.

 

The channels can be merged by dragging and dropping them on another channel or in automated way like merging by channel name or by channel number.

 

DVBLogic says now, that from their software packages, TVMosaic is King, because DVBLink is End of Life and sales/support for DVBLink has been discontinued from January this year.... But to me DVBLink is still KING, because it has feature options (like Channel Merge from DIFFERENT sources and more) that are still MISSING in TVMosaic....

Edited by Senna
  • Like 1
Link to comment
Share on other sites

EODCrafter

5c485dbcda96d_Screenshotfrom201901230627

 

Might as well just Pay for Cable..........

Edited by EODCrafter
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...