Bug #2512
closedIncorrect 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;
}
===================================