no hybrid for bcm3466 t2 tuner

Origin commit data
------------------
Branch: ni/coolstream
Commit: cd8030ae17
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2024-07-17 07:12:14 +02:00
committed by vanhofen
parent 5cecbd8918
commit 195e93a406

View File

@@ -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());