mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
neutrinoyparser: stay compatible with present code in Y_Blocks.txt
Origin commit data
------------------
Branch: ni/coolstream
Commit: 60d3cfb962
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-13 (Mon, 13 Mar 2017)
Origin message was:
------------------
- neutrinoyparser: stay compatible with present code in Y_Blocks.txt
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -839,8 +839,11 @@ std::string CNeutrinoYParser::func_get_partition_list(CyhookHandler *, std::str
|
|||||||
std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
||||||
{
|
{
|
||||||
std::string boxvendor(g_info.hw_caps->boxvendor);
|
std::string boxvendor(g_info.hw_caps->boxvendor);
|
||||||
std::string boxname(g_info.hw_caps->boxname);
|
/* stay compatible with present code in Y_Blocks.txt */
|
||||||
|
if (boxvendor.compare("Coolstream") == 0)
|
||||||
|
boxvendor = "CST";
|
||||||
|
|
||||||
|
std::string boxname(g_info.hw_caps->boxname);
|
||||||
/* workaround for Neo2 */
|
/* workaround for Neo2 */
|
||||||
if ((boxname.compare("Neo") == 0) && (CFEManager::getInstance()->getFrontendCount() > 1))
|
if ((boxname.compare("Neo") == 0) && (CFEManager::getInstance()->getFrontendCount() > 1))
|
||||||
boxname += " Twin";
|
boxname += " Twin";
|
||||||
|
Reference in New Issue
Block a user