]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
hdhomerun: auto detect DVB_T devices
authorAnton Blanchard <anton@ozlabs.org>
Wed, 26 Dec 2018 03:52:37 +0000 (14:52 +1100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 26 Dec 2018 16:58:39 +0000 (17:58 +0100)
src/input/mpegts/tvhdhomerun/tvhdhomerun.c

index d079aa780c518b1d2ecfce6e52c539ac7367349f..87aa870d774689dec7f6fb157be3e0b51df82d5a 100644 (file)
@@ -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));