[REL] HDHomeRun Viewer


#1

Announcements

  • Chromecast streaming is broken with recent Plex updates.
  • Android streaming is broken with client version 6.17. Use 6.16.2 instead.

Introduction

This plug-in was created for personal usage stream from my HDHomeRun PRIME to Roku 3. This allows up to 3 TV streams to be viewed by 3 different clients simultaneously. Due to Plex limitations with live streams, I  wouldn't recommend buying a HDHomeRun device solely to run with Plex and this Plug In. This plug-in should work with DLNA-enabled HDHomeRun (PRIME, PLUS, DUAL Gen 4).

webinterface

HDHomeRun Compatibility

Compatible with HDHomeRun that have DLNA or HTTP streaming capabilities.

Compatible

  • HDHomeRun PRIME (HDHR3-CC)
  • HDHomeRun 4DC (HDHR3-4DC)
  • HDHomeRun DUAL (Gen4)
  • HDHomeRun CONNECT (HDHR4-2US/2DT)
  • HDHomeRun PLUS/EXTEND (HDTC-2US)
  • HDHomeRun EXTEND (HDTC-2US-M)

Not Compatible

  • HDHomeRun DUAL (HDHR3-US/EU/DT)
  • HDHomeRun DUAL (HDHR2-US/DT)
  • HDHomeRun DUAL (HDHR-US/EU/DT)

Client Compatibility

Some browser may have playback issues with HTML5 player, disable HTML5 player. Refer to Known Anomalies for more info.

Refer to: https://github.com/zynine-/HDHRViewerV2.bundle/wiki/Compatibility-Report

Common Issues and Resolution

Issue Report

Please report in the following format:


Operating System:
CPU, RAM:
Plex Server version:
Clients:
HDHomeRun model and firmware:
Issues:

In addition please include if:

Plug-in Crash or Video does not play or any other problems...
- com.plexapp.plugins.hdhrviewer.v2.log
- Plex Media Server.log

Channel Guide Problems (hdhomerun)
- com.plexapp.plugins.hdhrviewer.v2.log
- http://hdhomerun_ip/lineup.json

Channel Guide Problems (XMLTV file or restapi)
- com.plexapp.plugins.hdhrviewer.v2.log
- http://hdhomerun_ip/lineup.json
- copy of the xmltv.xml

Example Error Report

  • Operating System: Windows 10 Pro 64-bit
  • CPU, RAM: Intel i5-3570k Quad Core, 32GB RAM
  • Plex Media Server version: PMS 1.1.4
  • Clients: Firefox, Roku
  • HDHomeRun model and firmware: HDTC-2US firmware 20160621atest1
  • Issues: Video takes a long time to load on Roku, but loads fast on Android. Video does't play on Firefox and return error message "Neither direct play nor conversion is available".

Credits


#2

Converted from IPB to Markdown ... :)

Test


#3

Download at https://github.com/zynine-/HDHRViewerV2.bundle/releases

Ignore attachments below.


#4

Hmmm, looking at the code, this plugin code looks like it is compatible with the HDHomeRun PRIME only.  Bummer :(


#5

Hmmm, looking at the code, this plugin code looks like it is compatible with the HDHomeRun PRIME only.  Bummer :(

What tuner do you have, and do you have access to its webpage?


#6

Just wanted to say... Great job!! Works perfect and as a huge bonus ( not sure if this was intended ) I can finally use my Chromecast to cast live TV via Plex!


#7

What tuner do you have, and do you have access to its webpage?



I have 2 HDHR3-DT and I can access is webpage but I can't do much, just download drivers or installation instructions. Running old firmware though too.


#8

I have the HDHR-US, on a Mac with no web access. It worked with the old hdhomerun plugin but can not get it to work with this one yet.


#9

I want to use this on my nas box. Qnap to be exact. Will I need to install HDhomerun drivers on the box first?


#10

@jeradin

I believe this plugin only works with the Prime and newer because the stream is over HTTP. The older models use something else that needs to be transcoded from the HDHomerun mpeg2 for streaming over HTTP for Plex. HDSurfer accomplishes this, but takes a hit on the processing.

More info here: http://connect.vail.k12.az.us/federoffm/2012/10/24/streaming-catv-over-ip-with-http-live-streaming/


#11

Would I be able to make this work with a nas box without any tweaking? Here's the link for the Linux drivers. http://sourceforge.net/apps/trac/dvbhdhomerun/


#12

@jeradin

I believe this plugin only works with the Prime and newer because the stream is over HTTP. The older models use something else that needs to be transcoded from the HDHomerun mpeg2 for streaming over HTTP for Plex. HDSurfer accomplishes this, but takes a hit on the processing.

More info here: http://connect.vail.k12.az.us/federoffm/2012/10/24/streaming-catv-over-ip-with-http-live-streaming/

The regular HD Homerun might use MPEG2, but that should still be able to be streamed directly to a client that can support a high bitrate MPEG2 stream. I have been using the HDSurfer app and there is no transcoding when i watch live TV on my Plex Home Theater client. I wonder if this plugin can be configured to receive the MPEG2 stream directly on supported clients.


#13

Thanks for this!

This is working quite well for me over local network and also on chromecast.

However, over cellular network, at low bitrates like 1M, 720kbits and 320kbit, the stream stutters every one or two seconds very consistently.  On the same bitrates, I don't see stuttering on media files.

This may have to do with buffer available for live stream?? (I'm guessing)

Is this something that I can tweak on the PMS setting myself or do I need to ask a dev to look at it?


#14

I want to use this on my nas box. Qnap to be exact. Will I need to install HDhomerun drivers on the box first?



I have never tested it on a NAS, if you are streaming to PHT/PMC locally, it might work, but if you are streaming to other clients, it might not work because transcoding is needed.


#15

I have 2 HDHR3-DT and I can access is webpage but I can't do much, just download drivers or installation instructions. Running old firmware though too.



Unfortunately, this plugin was designed for the PRIME, it has the http API. You'll have to run the HDSurfer because Plex itself can't support udp/rtp streams. VLC is needed to convert this streams.


I have the HDHR-US, on a Mac with no web access. It worked with the old hdhomerun plugin but can not get it to work with this one yet.




Since Plex upgraded, the old plug-in stopped working. I believe this was due to the transcoder and Plex limited support on live streaming.


@jeradin


I believe this plugin only works with the Prime and newer because the stream is over HTTP. The older models use something else that needs to be transcoded from the HDHomerun mpeg2 for streaming over HTTP for Plex. HDSurfer accomplishes this, but takes a hit on the processing.


More info here: http://connect.vail.k12.az.us/federoffm/2012/10/24/streaming-catv-over-ip-with-http-live-streaming/





Would I be able to make this work with a nas box without any tweaking? Here's the link for the Linux drivers. http://sourceforge.net/apps/trac/dvbhdhomerun/




The regular HD Homerun might use MPEG2, but that should still be able to be streamed directly to a client that can support a high bitrate MPEG2 stream. I have been using the HDSurfer app and there is no transcoding when i watch live TV on my Plex Home Theater client. I wonder if this plugin can be configured to receive the MPEG2 stream directly on supported clients.




HDHomeRun PRIME streams MPEG2 as well, the difference is it can stream using http. Plex is transcoding it to non-PHT/PMC clients. It doesn't transcode to PHT/PMC.


Older HDHomeRun streams through udp/rtp broadcast. Plex can't read this broadcast, VLC is needed to read this and stream it to http. HDHomeRun config drivers are needed to tune and stream the channels.


Although the plugin can be rewritten to support older clients, it heavily relies on VLC and HDHomeRun config, which is what HDSurfer is already doing.


Thanks for this!


This is working quite well for me over local network and also on chromecast.


However, over cellular network, at low bitrates like 1M, 720kbits and 320kbit, the stream stutters every one or two seconds very consistently. On the same bitrates, I don't see stuttering on media files.


This may have to do with buffer available for live stream?? (I'm guessing)


Is this something that I can tweak on the PMS setting myself or do I need to ask a dev to look at it?




Could be buffering issue or transcoder. I would pause it for a few seconds before playing again to see if that helps.


#16

I have notice that the stream for media files over cellular network take longer to start than the live TV streams which says to me it is a buffering issue also.

However, I tried pausing the TV stream for a minute and resume, the stuttering is still there.  Anyone else seeing this?


#17

I have never tested it on a NAS, if you are streaming to PHT/PMC locally, it might work, but if you are streaming to other clients, it might not work because transcoding is needed.

Okay. I will give it a try and report back. 


#18

This works well with the HDHR4-2US.  The only issue I had was that my NAS (freenas with a core 2) wasn't powerful enough to transcode the stream.  I had to use my other desktop (windows 7 - i7) in order to avoid the stuttering. It streams to chromecast, roku, and my android devices.  Since I don't keep the windows PC on all the time I created a basic WOL plugin on the freenas box that wakes up the windows pc when I want to watch live tv.  (Maybe it's time to upgrade the NAS box.)


#19

This works well with the HDHR4-2US.  The only issue I had was that my NAS (freenas with a core 2) wasn't powerful enough to transcode the stream.  I had to use my other desktop (windows 7 - i7) in order to avoid the stuttering. It streams to chromecast, roku, and my android devices.  Since I don't keep the windows PC on all the time I created a basic WOL plugin on the freenas box that wakes up the windows pc when I want to watch live tv.  (Maybe it's time to upgrade the NAS box.)

I have a nas box with dual core and it doesn't seem to be doing the job. I don't understand why since it's resources are not maxed out. 58% cpu 46% ram when i try to stream. 

What are your resources looking when you try to stream?


#20

It pretty much pegs the NAS to 0% idle time.