mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
zapit/src/bouquets.cpp: add flag for other bouquet
This commit is contained in:
@@ -34,6 +34,7 @@ class CZapitBouquet
|
||||
bool bLocked;
|
||||
bool bUser;
|
||||
bool bFav;
|
||||
bool bOther;
|
||||
t_satellite_position satellitePosition;
|
||||
|
||||
ZapitChannelList radioChannels;
|
||||
|
@@ -433,6 +433,7 @@ void CBouquetManager::makeRemainingChannelsBouquet(void)
|
||||
|
||||
// TODO: use locales
|
||||
remainChannels = addBouquet((Bouquets.size() == 0) ? "All Channels" : "Other", false); // UTF-8 encoded
|
||||
remainChannels->bOther = true;
|
||||
|
||||
for (ZapitChannelList::const_iterator it = unusedChannels.begin(); it != unusedChannels.end(); it++) {
|
||||
remainChannels->addService(*it);
|
||||
@@ -457,6 +458,7 @@ CZapitBouquet* CBouquetManager::addBouquet(const std::string & name, bool ub, bo
|
||||
CZapitBouquet* newBouquet = new CZapitBouquet(myfav ? "favorites" : name);
|
||||
newBouquet->bUser = ub;
|
||||
newBouquet->bFav = myfav;
|
||||
newBouquet->bOther = false;
|
||||
|
||||
//printf("CBouquetManager::addBouquet: %s, user %s\n", name.c_str(), ub ? "YES" : "NO");
|
||||
if(ub) {
|
||||
|
Reference in New Issue
Block a user