Jump to content


Photo

Live TV with HDHomeRun

HDHomeRun tvheadend

  • Please log in to reply
36 replies to this topic

#1 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 14 January 2019 - 05:24 PM

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.



#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 45278 posts
  • Local time: 01:07 PM

Posted 14 January 2019 - 05:31 PM

Hi.  What exactly do you mean by "remove the encrypted channel limitation"?



#3 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2690 posts
  • Local time: 01:07 PM
  • LocationLong Island, NY

Posted 15 January 2019 - 08:17 AM

the fact that emby can't play encrypted cable channels.



#4 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 45278 posts
  • Local time: 01:07 PM

Posted 15 January 2019 - 10:28 AM

I don't know of any way we can (legally) remove that limitation at this time.

 

Thanks.



#5 kanipek OFFLINE  

kanipek

    U.S. Navy Retired

  • Members
  • 1046 posts
  • Local time: 01:07 PM
  • LocationMassillon, Ohio

Posted 15 January 2019 - 12:06 PM

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.



#6 cayars OFFLINE  

cayars

    Advanced Member

  • Alpha Testers
  • 2923 posts
  • Local time: 01:07 PM

Posted 18 January 2019 - 06:27 AM

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?



#7 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 18 January 2019 - 11:51 AM

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


#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131149 posts
  • Local time: 01:07 PM

Posted 18 January 2019 - 12:10 PM

If that channel is encrypted we do not decrypt it. That is not legal to my knowledge.

#9 kanipek OFFLINE  

kanipek

    U.S. Navy Retired

  • Members
  • 1046 posts
  • Local time: 01:07 PM
  • LocationMassillon, Ohio

Posted 18 January 2019 - 12:15 PM

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?



#10 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 18 January 2019 - 01:11 PM

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:5...&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.



#11 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2690 posts
  • Local time: 01:07 PM
  • LocationLong Island, NY

Posted 18 January 2019 - 01:55 PM

Holy shit, that works!?!?  Ok, I think a tutorial is necessary, please.


  • cayars likes this

#12 kanipek OFFLINE  

kanipek

    U.S. Navy Retired

  • Members
  • 1046 posts
  • Local time: 01:07 PM
  • LocationMassillon, Ohio

Posted 18 January 2019 - 02:04 PM

Yes. Do share.



#13 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 18 January 2019 - 04:46 PM

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.



#14 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 18 January 2019 - 06:16 PM

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, 18 January 2019 - 06:17 PM.


#15 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2690 posts
  • Local time: 01:07 PM
  • LocationLong Island, NY

Posted 18 January 2019 - 07:08 PM

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

#16 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 18 January 2019 - 07:10 PM

Dunno, thats why I started this thread lol. Can an M3U be added to emby for a live tv "source"?



#17 Sammy OFFLINE  

Sammy

    Advanced Member

  • Members
  • 2544 posts
  • Local time: 10:07 AM

Posted 18 January 2019 - 07:10 PM

For clarity, is this encrypted or copy protected?

 

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



#18 Sammy OFFLINE  

Sammy

    Advanced Member

  • Members
  • 2544 posts
  • Local time: 10:07 AM

Posted 18 January 2019 - 07:12 PM

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, 18 January 2019 - 07:12 PM.


#19 robrhedrick OFFLINE  

robrhedrick

    Advanced Member

  • Members
  • 159 posts
  • Local time: 12:07 PM
  • LocationKansas

Posted 18 January 2019 - 07:12 PM

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.



#20 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2690 posts
  • Local time: 01:07 PM
  • LocationLong Island, NY

Posted 18 January 2019 - 07:18 PM

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





Also tagged with one or more of these keywords: HDHomeRun, tvheadend

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users