tvheadend installed - now what?

Torfinn Ingolfsen torfinn.ingolfsen at getmail.no
Wed Feb 26 18:27:22 UTC 2014


On Wed, 26 Feb 2014 09:44:56 +0100
Bernhard Fröhlich <decke at FreeBSD.org> wrote:

> 
> You don't seem to be the first one with that problem. The best
> "workaround" right now seems
> to "hack the code" with a small patch. Newer versions seem to be able
> to set the type explicitly
> via the webinterface.
> 
> https://tvheadend.org/boards/5/topics/8535?r=10871

Ah, I didn't find that one. Thanks!

Adding a patch to give me DVB-C (that's all I have) like so:
root at kg-f4# /usr/ports/Tools/scripts/patchtool.py dvb_support.c
--- src/dvb/dvb_support.c.orig	2013-07-26 18:17:22.000000000 +0200
+++ src/dvb/dvb_support.c	2014-02-26 18:38:56.000000000 +0100
@@ -389,13 +389,15 @@
 int
 dvb_str_to_adaptertype(const char *str)
 {
-  return str2val(str, adaptertype);
+  /* return str2val(str, adaptertype); */
+  return FE_QAM;
 }
 
 const char *
 dvb_adaptertype_to_str(int type)
 {
-  return val2str(type, adaptertype) ?: "invalid";
+  /* return val2str(type, adaptertype) ?: "invalid"; */
+  return val2str(FE_QAM, adaptertype) ?: "invalid";
 }
 
 const char *

and recompiling / reinstalling tvheadend at least get me DVB-C adapter(s) in the web interface.
It remains to see if they actually work.

-- 
Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no>


More information about the freebsd-multimedia mailing list