mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- controlapi/yparser: detect new models tank and trinity
This commit is contained in:
@@ -623,14 +623,19 @@ void CControlAPI::HWInfoCGI(CyhookHandler *hh)
|
|||||||
boxname += "BSE";
|
boxname += "BSE";
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
case 9:
|
|
||||||
boxname += "Neo";
|
boxname += "Neo";
|
||||||
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
||||||
boxname += " Twin";
|
boxname += " Twin";
|
||||||
break;
|
break;
|
||||||
|
case 9:
|
||||||
|
boxname += "Tank";
|
||||||
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
boxname += "Zee";
|
boxname += "Zee";
|
||||||
break;
|
break;
|
||||||
|
case 11:
|
||||||
|
boxname += "Trinity";
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
char buffer[10];
|
char buffer[10];
|
||||||
|
@@ -707,14 +707,19 @@ std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
|||||||
boxname += "BSE";
|
boxname += "BSE";
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
case 9:
|
|
||||||
boxname += "Neo";
|
boxname += "Neo";
|
||||||
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
||||||
boxname += " Twin";
|
boxname += " Twin";
|
||||||
break;
|
break;
|
||||||
|
case 9:
|
||||||
|
boxname += "Tank";
|
||||||
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
boxname += "Zee";
|
boxname += "Zee";
|
||||||
break;
|
break;
|
||||||
|
case 11:
|
||||||
|
boxname += "Trinity";
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
char buffer[10];
|
char buffer[10];
|
||||||
|
Reference in New Issue
Block a user