htsmsg_t *m = htsmsg_create_list();
htsmsg_add_str(m, NULL, "DVB-T");
htsmsg_add_str(m, NULL, "DVB-C");
+ htsmsg_add_str(m, NULL, "ATSC");
return m;
}
const char *override_type = htsmsg_get_str(conf, "fe_override");
if ( override_type != NULL) {
type = dvb_str2type(override_type);
- if ( ! ( type == DVB_TYPE_C || type == DVB_TYPE_T ) ) {
+ if ( ! ( type == DVB_TYPE_C || type == DVB_TYPE_T || type == DVB_TYPE_ATSC ) ) {
type = DVB_TYPE_C;
}
}
idc = &dvb_network_dvbt_class;
else if (hfe->hf_type == DVB_TYPE_C)
idc = &dvb_network_dvbc_class;
+ else if (hfe->hf_type == DVB_TYPE_ATSC)
+ idc = &dvb_network_atsc_class;
else
return NULL;
}
};
+const idclass_t tvhdhomerun_frontend_atsc_class =
+{
+ .ic_super = &tvhdhomerun_frontend_class,
+ .ic_class = "tvhdhomerun_frontend_atsc",
+ .ic_caption = "HDHomeRun ATSC Frontend",
+ .ic_properties = (const property_t[]){
+ {}
+ }
+};
+
void
tvhdhomerun_frontend_delete ( tvhdhomerun_frontend_t *hfe )
{
idc = &tvhdhomerun_frontend_dvbt_class;
else if (type == DVB_TYPE_C)
idc = &tvhdhomerun_frontend_dvbc_class;
- else {
+ else if (type == DVB_TYPE_ATSC) {
+ idc = &tvhdhomerun_frontend_atsc_class;
+ } else {
tvherror("stvhdhomerun", "unknown FE type %d", type);
return NULL;
}