Project

General

Profile

Actions

Bug #2512

closed

Incorrect HDHomerun Tuner type display

Added by MinGyoon Woo over 10 years ago. Updated over 10 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2014-11-28
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.2168
Affected Versions:

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;
} ===================================

Actions

Also available in: Atom PDF