Project

General

Profile

Feature #5236

Feature #4461: HDHome Run emulation

HDHomerun Emulation for PLEX integration

Added by Shane Kuzmanic almost 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Start date:
2018-10-01
Due date:
% Done:

0%

Estimated time:

Description

This was requested over a year ago and was closed down as some did not follow the request and nothing has moved on since then so i will try and explain better this time.

Could HDHomerun emulation be added to TVHeadend please, TVHeadned will currently connect to a HDHomerun device and use its tuners but im requesting the reverse of this.

This will allow any software application and there are many to discover the TVHeadend server as a HDHomerun device sharing out TVHeadend consolidated tuners, IPTV, and TVGuide.

HDHomerun has a well documented API and enabling this feature will enable significant integration to other front end systems like Plex DVR.

Yes there are middle applications like TVHProxy etc. that do this but having it integrated into TVHeadend would be far better.

History

#1

Updated by saen acro almost 3 years ago

There is few plugins for Plex with support TVHeadend.

#2

Updated by Shane Kuzmanic almost 3 years ago

saen acro wrote:

There is few plugins for Plex with support TVHeadend.

Yes there are and i have tried them but with HDHomerun emulation it would plug in natively as Plex can then use it with its built in DVR framework. Also it will allow other systems that work with an HDHomerun to use TVHeadend as a server.

#3

Updated by Mono Polimorph almost 3 years ago

Hi,

This is my point of view about this topic:

- HDHomerun (native API, not HTTP) is in general like SAT>IP. So it's good to support it!

Regarding the technical challenge of implementing the "HDHR-Server module" (mimicking the current "SAT>IP server module"), you need to know that:

  1. Autodiscovering: The SAT>IP protocol uses SSDP. The HDHR protocol is more simple: single UDP messages over port 65001/udp sended to the LAN over the broadcast address.
  2. Control Plane: Custom binary API over a TCP socket (65001/tcp). The API is public and implemented inside a library (https://github.com/Silicondust/libhdhomerun). The state machine is similar to SAT>IP: open tuner, set tunning parameters, set target, close tuner.
  3. Transport Plane: Delivery of a regular MPEG-TS over simple UDP or RTP. In this case is more simple than SAT>IP (plain UDP supported).

Drawbacks: The HDHR tuner protocol only supports DVB-T/T2, DVB-C and ATSC. So no DVB-S/S2. Then you need to emulate a Terrestrial tuner (or do some mappings).

Then I feel it's possible to implement it inside TVH. The roadmap can be divided on:

  1. Create a "generic" server module based on current SAT>IP. This will work as a "template".
  2. Implement the discovery module: very easy!
  3. Implement the Transport Plane: first iteration can be a simple UDP reception of the MPEG-TS.
  4. Control Plane: This is the hard part of the work. You need to implement several cmd/messages.

But for the last task you can see the implementation done of one true HDHR Emulator for Windows. See it here: https://github.com/dsaupf/HDHRProxyIPTV

I hope this helps! :)

#4

Updated by saen acro almost 3 years ago

Shane Kuzmanic wrote:

saen acro wrote:

There is few plugins for Plex with support TVHeadend.

Yes there are and i have tried them but with HDHomerun emulation it would plug in natively as Plex can then use it with its built in DVR framework. Also it will allow other systems that work with an HDHomerun to use TVHeadend as a server.

So why Plex not make TVH client itself
you can select then transcoding DVR timeshift etc.

Normally client adapt to server not opposite.

#5

Updated by Jaroslav Kysela almost 3 years ago

  • Status changed from New to Rejected
  • Parent task set to #4461
#6

Updated by Jaroslav Kysela almost 3 years ago

This issue was rejected, because it's dup of #4461 .

Also available in: Atom PDF