mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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:
@@ -237,14 +237,17 @@ void CFrontend::getFEInfo(void)
|
|||||||
bool found = false;
|
bool found = false;
|
||||||
while (getline(in, line))
|
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;
|
found = true;
|
||||||
|
|
||||||
if ((line.find("Name:") != std::string::npos) && found)
|
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
|
#if BOXMODEL_VUPLUS_ALL
|
||||||
sprintf(info.name,"%s", line.substr(line.find_first_of(":") + 9).c_str());
|
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
|
#else
|
||||||
std::string tmp = info.name;
|
std::string tmp = info.name;
|
||||||
sprintf(info.name,"%s (%s)", tmp.c_str(), line.substr(line.find_first_of(":") + 2).c_str());
|
sprintf(info.name,"%s (%s)", tmp.c_str(), line.substr(line.find_first_of(":") + 2).c_str());
|
||||||
|
Reference in New Issue
Block a user