mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
neutrinoyparser: remove workaround for Neo Twin
Origin commit data
------------------
Branch: ni/coolstream
Commit: 59adc88491
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-19 (Sun, 19 Mar 2017)
Origin message was:
------------------
- neutrinoyparser: remove workaround for Neo Twin
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -839,14 +839,16 @@ std::string CNeutrinoYParser::func_get_partition_list(CyhookHandler *, std::str
|
||||
std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
||||
{
|
||||
std::string boxvendor(g_info.hw_caps->boxvendor);
|
||||
/* stay compatible with present code in Y_Blocks.txt */
|
||||
/*
|
||||
I don't know the current legal situation.
|
||||
So better let's change the vendor's name to CST.
|
||||
|
||||
After change this, you'll have to align code in Y_Blocks.txt
|
||||
*/
|
||||
if (boxvendor.compare("Coolstream") == 0)
|
||||
boxvendor = "CST";
|
||||
|
||||
std::string boxname(g_info.hw_caps->boxname);
|
||||
/* workaround for Neo2 */
|
||||
if ((boxname.compare("Neo") == 0) && (CFEManager::getInstance()->getFrontendCount() > 1))
|
||||
boxname += " Twin";
|
||||
|
||||
return boxvendor + " " + boxname;
|
||||
}
|
||||
|
Reference in New Issue
Block a user