Bug #2512
Incorrect HDHomerun Tuner type display
0%
Description
Build with "--enable-hdhomerun_static"
This build of tvheadend found the HDHomerun tuner, but display the incorrect tuner type.
Tuner is "HDHomerun Plus" which is ATSC dual tuner, but tvheadend recognised as "DVB-C" tuner.
I believe this is related with ENUM in 'src/input/mpegts/tvhdhomerun/tvhdhomerun.c'.
===================================
static htsmsg_t *
tvhdhomerun_device_class_override_enum( void * p )
{
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;
}
===================================
Program will check tuner type with this order, so first recognised tuner type will be displayed.
However 'Cable TV' property is second feature of tuner. I think this order need to upside down for correct display as like below.
===================================
static htsmsg_t *
tvhdhomerun_device_class_override_enum( void * p )
{
htsmsg_t *m = htsmsg_create_list();
htsmsg_add_str(m, NULL, "DVB-T");
htsmsg_add_str(m, NULL, "ATSC");
htsmsg_add_str(m, NULL, "DVB-C");
return m;
}
===================================
History
Updated by MinGyoon Woo almost 10 years ago
If I change the ENUM order, TVHeadend still recognised 'HDHomerun Plus' as DVB-C not ATSC. It is more comlicate problem I think.
Updated by Jaroslav Kysela almost 10 years ago
- Status changed from New to Invalid
There is "Network Type" field in the adapter configuration, so you can select the right type. By default DVB-C type is selected.