From: Anton Blanchard Date: Wed, 26 Dec 2018 03:52:37 +0000 (+1100) Subject: hdhomerun: auto detect DVB_T devices X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88f2634af1bacd5f4768a994562d909f756ab7fb;p=thirdparty%2Ftvheadend.git hdhomerun: auto detect DVB_T devices --- diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c index d079aa780..87aa870d7 100644 --- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c +++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c @@ -331,6 +331,8 @@ static void tvhdhomerun_device_create(struct hdhomerun_discover_device_t *dInfo) type = DVB_TYPE_ATSC_T; if (strstr(hd->hd_info.deviceModel, "_cablecard")) type = DVB_TYPE_CABLECARD; + if (strstr(hd->hd_info.deviceModel, "_dvbt")) + type = DVB_TYPE_T; } hd->hd_override_type = strdup(dvb_type2str(type));