From 195e93a4066f0aec7f865da33058f12c00efa6f8 Mon Sep 17 00:00:00 2001 From: BPanther Date: Wed, 17 Jul 2024 07:12:14 +0200 Subject: [PATCH] no hybrid for bcm3466 t2 tuner Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/cd8030ae17884d2806978ef0c1cad3cd7d09824b Author: BPanther Date: 2024-07-17 (Wed, 17 Jul 2024) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/frontend.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index 9f8be619b..77fe44010 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -237,14 +237,17 @@ void CFrontend::getFEInfo(void) bool found = false; while (getline(in, line)) { - if (line.find("NIM Socket "+to_string(fenumber)+":") !=std::string::npos) + if (line.find("NIM Socket " + to_string(fenumber) + ":") != std::string::npos) found = true; if ((line.find("Name:") != std::string::npos) && found) { - //printf("NIM SOCKET: %s\n",line.substr(line.find_first_of(":")+2).c_str()); + //printf("NIM SOCKET: %s\n", line.substr(line.find_first_of(":") + 2).c_str()); #if BOXMODEL_VUPLUS_ALL sprintf(info.name,"%s", line.substr(line.find_first_of(":") + 9).c_str()); + // no hybrid for BCM3466 T2 tuner + if (!strncmp(line.substr(line.find_first_of("(") + 1).c_str(), "BCM3466)", 5)) + found = false; #else std::string tmp = info.name; sprintf(info.name,"%s (%s)", tmp.c_str(), line.substr(line.find_first_of(":") + 2).c_str());