Jump to content

Live TV with HDHomeRun


hooray4me

Recommended Posts

hooray4me

Are there plans to utilize the ip stream from HDHomeRun devices to remove the encrypted channel limitation? We currently use TVHeadEnd to handle this problem. With the addition of guide data to Emby Premiere, encrypted channels are the only hold up for ditching tvheadend.

Link to comment
Share on other sites

kanipek

I think @robrhedrick is confusing DRM with encrypted channels.

 

I have many encrypted channels, but by using a HDHR Prime with CableCard installed I can view/record them without issue - none of those channels have any DRM applied to them though.

Link to comment
Share on other sites

Are there plans to utilize the ip stream from HDHomeRun devices to remove the encrypted channel limitation? We currently use TVHeadEnd to handle this problem. With the addition of guide data to Emby Premiere, encrypted channels are the only hold up for ditching tvheadend.

If you use the correct device this shouldn't be a problem.

 

I'm assuming you have cable correct?  What device are you using with it?

Is it a Prime?  Do you have a properly setup cable card for it?

 

Just to make sure we are all talking about the same thing.  You are not talking about recording channels like Showtime, HBO, Cinimax correct?

Link to comment
Share on other sites

hooray4me

HD HomeRun Prime with a cable card... with TVHeadend, if I create an M3U file for the channels, I can watch ALL channels using the ip stream from the homerun without issue. These stream urls can be pulled directly from the HDHomerun device.

 

If I add the HD Homerun Device directly to Emby, I cannot tune some of the channels like showtime east...

 

#EXTM3U

#EXTINF:501,HBO_HD
http://10.50.3.250:5004/auto/v501
#EXTINF:507,HBO FAMILY HD
http://10.50.3.250:5004/auto/v507
#EXTINF:561,SHOWTIME_HD
http://10.50.3.250:5004/auto/v561
#EXTINF:578,SHOWTIME EAST
http://10.50.3.250:5004/auto/v578?CONTENTPROTECTIONTYPE=DTCP1&DTCP1HOST=10.50.3.250&DTCP1PORT=8888
#EXTINF:701,WATL_HD
http://10.50.3.250:5004/auto/v701
#EXTINF:703,QVC HD
http://10.50.3.250:5004/auto/v703
Link to comment
Share on other sites

kanipek

http://10.50.3.250:5004/auto/v578?CONTENTPROTECTIONTYPE=DTCP1&DTCP1HOST=10.50.3.250&DTCP1PORT=8888

 

This is telling you it has DRM applied and that is why Emby cannot tune it.

 

To my knowledge TVH doesn't play DRM channels either -- traditional or M3U

 

Perhaps you can explain further what you are doing with TVH?

Link to comment
Share on other sites

hooray4me

If you add an M3U file as the source "network" it will create the muxes for each service channel... and use the ip stream ie http://10.50.3.250:5004/auto/v578?CONTENTPROTECTIONTYPE=DTCP1&DTCP1HOST=10.50.3.250&DTCP1PORT=8888

 

as the source of the stream, leaving the decryption action on the HDHomeRun Prime. You are essentially offloading the decryption action and consuming the ip streaming instead of tuning a frequency and having the HomeRun stream that data which, if encrypted, would not be view-able.

Link to comment
Share on other sites

hooray4me

The channel lineup has changed and I have to rescan everything. I'll document my process and give you more info in just a bit.

Link to comment
Share on other sites

hooray4me

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

Edited by robrhedrick
Link to comment
Share on other sites

mastrmind11

But since the HDHR is doing the decoding, just generating the m3u and adding it to emby should accomplish the same thing, no?

 

Sent from my SM-G965U using Tapatalk

Link to comment
Share on other sites

If you use the correct device this shouldn't be a problem.

 

I'm assuming you have cable correct?  What device are you using with it?

Is it a Prime?  Do you have a properly setup cable card for it?

 

Just to make sure we are all talking about the same thing.  You are not talking about recording channels like Showtime, HBO, Cinimax correct?

 

Once upon a time I had Charter and a Prime; several of the premium channels had no copy protection on them and Emby tuned them fine.

Edited by Sammy
Link to comment
Share on other sites

hooray4me

oooo, nevermind... I see M3U tuner option. I will have to test it and see if it works... Don't know how it will handle using 2 tuners and only showing 1 channel though.

Link to comment
Share on other sites

mastrmind11

oooo, nevermind... I see M3U tuner option. I will have to test it and see if it works... Don't know how it will handle using 2 tuners and only showing 1 channel though.

There are threads about this elsewhere here.

 

Sent from my SM-G965U using Tapatalk

Link to comment
Share on other sites

mastrmind11

For clarity, is this encrypted or copy protected?

 

They're not the same thing and I'm confused.

Generally the pay channels like HBO etc are consistent across providers, and he mentioned Showtime so I assume encrypted.

 

Sent from my SM-G965U using Tapatalk

Link to comment
Share on other sites

kanipek

oooo, nevermind... I see M3U tuner option. I will have to test it and see if it works... Don't know how it will handle using 2 tuners and only showing 1 channel though.

I played around with this awhile back as an attempt at channel management.

 

I have several HDHR tuners and I could not find a method for a single M3U solution to cover all the tuners. So with 1 M3U per tuner I ended up with duplicate channels.

 

Don't know if there is a way to do it with a single M3U and multiple HDHR tuners, I couldn't figure it out.

Link to comment
Share on other sites

kanipek

Encrypted does not equal DRM, I have many encrypted channels and no DRM channels.

 

All my encrypted channels function great within Emby using my CableCard for decryption.

  • Like 1
Link to comment
Share on other sites

mastrmind11

Encrypted does not equal DRM, I have many encrypted channels and no DRM channels.

 

All my encrypted channels function great within Emby using my CableCard for decryption.

But you know what I mean.

 

Sent from my SM-G965U using Tapatalk

Link to comment
Share on other sites

kanipek

But you know what I mean.

 

Sent from my SM-G965U using Tapatalk

I do, Others do not. Hence confusion between the two terms.

  • Like 1
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...