From: Anton Blanchard Date: Wed, 26 Dec 2018 03:52:37 +0000 (+1100) Subject: hdhomerun: auto detect DVB_T devices X-Git-Tag: v4.2.8~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e960a8a90a714d8596cf37e2c5dd6927a3d4aa4;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 47740a4a0..891efe761 100644 --- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c +++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c @@ -323,6 +323,8 @@ static void tvhdhomerun_device_create(struct hdhomerun_discover_device_t *dInfo) } else { if (strstr(hd->hd_info.deviceModel, "_atsc")) type = DVB_TYPE_ATSC_T; + if (strstr(hd->hd_info.deviceModel, "_dvbt")) + type = DVB_TYPE_T; } hd->hd_override_type = strdup(dvb_type2str(type));