From e6564a4f2a75152676d4da462208f3e7622b63f5 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 15 Aug 2013 16:25:38 +0200 Subject: [PATCH] controlapi/yparser: detect new models tank and trinity Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/efe212413b535ea0b3c9dcab16763fc78032e91d Author: vanhofen Date: 2013-08-15 (Thu, 15 Aug 2013) Origin message was: ------------------ - controlapi/yparser: detect new models tank and trinity --- src/nhttpd/tuxboxapi/coolstream/controlapi.cpp | 7 ++++++- src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index e407d85bb..960428a3c 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -623,14 +623,19 @@ void CControlAPI::HWInfoCGI(CyhookHandler *hh) boxname += "BSE"; break; case 8: - case 9: boxname += "Neo"; if (CFEManager::getInstance()->getFrontendCount() > 1) boxname += " Twin"; break; + case 9: + boxname += "Tank"; + break; case 10: boxname += "Zee"; break; + case 11: + boxname += "Trinity"; + break; default: char buffer[10]; diff --git a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp index fa62bb6ad..8824c9342 100644 --- a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp @@ -707,14 +707,19 @@ std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string) boxname += "BSE"; break; case 8: - case 9: boxname += "Neo"; if (CFEManager::getInstance()->getFrontendCount() > 1) boxname += " Twin"; break; + case 9: + boxname += "Tank"; + break; case 10: boxname += "Zee"; break; + case 11: + boxname += "Trinity"; + break; default: char buffer[10];