Date: Wed, 26 Feb 2014 19:11:17 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> To: freebsd-multimedia@FreeBSD.org Subject: Re: tvheadend installed - now what? Message-ID: <20140226191117.9dfd48f7221cf9c4b8a42df8@getmail.no> In-Reply-To: <CAE-m3X2AvyyHDU8BgqSO=58W=4ymVrQ03ZTt87deJukVGrxE4Q@mail.gmail.com> References: <20140215124235.4860b58f88221f63f18674b8@getmail.no> <20140225214909.ae5c7624cbe20b60031b78aa@getmail.no> <20140225233034.13695942962a8408b3efe745@getmail.no> <CAE-m3X2AvyyHDU8BgqSO=58W=4ymVrQ03ZTt87deJukVGrxE4Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Feb 2014 09:44:56 +0100 Bernhard Fr=F6hlich <decke@FreeBSD.org> wrote: >=20 > 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. >=20 > https://tvheadend.org/boards/5/topics/8535?r=3D10871 Ah, I didn't find that one. Thanks! Adding a patch to give me DVB-C (that's all I have) like so: root@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; } =20 const char * dvb_adaptertype_to_str(int type) { - return val2str(type, adaptertype) ?: "invalid"; + /* return val2str(type, adaptertype) ?: "invalid"; */ + return val2str(FE_QAM, adaptertype) ?: "invalid"; } =20 const char * and recompiling / reinstalling tvheadend at least get me DVB-C adapter(s) i= n the web interface. It remains to see if they actually work. --=20 Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140226191117.9dfd48f7221cf9c4b8a42df8>