dvbtee: re-enable control of HdHomeRun devices

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
dvbtee: update documentation to include the -H option for HdHomeRun

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Merge branch 'hdhr' of github.com:mkrufky/libdvbtee
dvbtee v0.1.8           #gklst

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
dvbtee: document how to start a server using a specific HdHomeRun device

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
libdvbtee_server, parser_example & server_example don't need to include /usr/lib/libhdhomerun

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
hdhr_tuner: dont make user apps require libhdhomerun headers

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
parse: fix bad indent (whitespace)

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
hdhr_tuner: check that q is valid before pushing pointer

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: find_idle_tuner() should return NULL if no idle tuners found

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output_stream: store pidlist subscriptions to aid in demuxing flexibility #gklst

With this changeset, one can now tune to a single transponder and send
each service and all of its associated elementary streams to separate
targets. For example, executing the following via the telnet CLI:

tune=33.1
stream=192.168.1.100:33001
tune=33.2
stream=192.168.1.101:33002

...will send each service to each respective target.

Please note: tuner / transponder / "multirec" management is not yet
robust enough to use this in a production environment.  This is just
a step in the right direction.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: return target id after successful add()

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: attempt to find an available tuner before stopping this tuner if we need to change the channel

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: attempt to find a tuner already tuned to the desired physical channel before searching for an available tuner #gklst

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: clean up handling of tune command when multiple tuners are present

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: display output stream target id in CLI

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: add function reset_pids()

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
output: protect against adding the same output target multiple times

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: trying to improve handling of multiple tuners

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
serve: only notify on tuner change if tuner was actually changed

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>