]> 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:59:34 +0000 (17:59 +0100)
src/input/mpegts/tvhdhomerun/tvhdhomerun.c

index 47740a4a0d4ffabf009be6b6ce6e721ce73b2719..891efe761d544119d488c92b3458ba7d12f296d5 100644 (file)
@@ -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));