mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
zapit/bouquets: rework group-prefix handling
Origin commit data
------------------
Commit: cb3655189c
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Origin message was:
------------------
- zapit/bouquets: rework group-prefix handling
This commit is contained in:
@@ -1095,8 +1095,14 @@ void CBouquetManager::loadWebchannels(int mode)
|
||||
{
|
||||
std::string bname = prefix;
|
||||
if (bname.compare("") == 0)
|
||||
{
|
||||
bname = (mode == MODE_WEBTV) ? "WebTV" : "WebRadio";
|
||||
bname += ": " + group;
|
||||
bname += ": " + group;
|
||||
}
|
||||
else if (bname.compare("none") == 0)
|
||||
bname = group;
|
||||
else
|
||||
bname += " " + group;
|
||||
gbouquet = addBouquetIfNotExist(bname);
|
||||
if (mode == MODE_WEBTV)
|
||||
gbouquet->bWebtv = true;
|
||||
@@ -1212,8 +1218,7 @@ void CBouquetManager::loadWebchannels(int mode)
|
||||
CZapitBouquet* gbouquet = pbouquet;
|
||||
if (!group.empty())
|
||||
{
|
||||
std::string bname;
|
||||
bname = (mode == MODE_WEBTV) ? "WebTV" : "WebRadio";
|
||||
std::string bname = (mode == MODE_WEBTV) ? "WebTV" : "WebRadio";
|
||||
bname += ": " + group;
|
||||
gbouquet = addBouquetIfNotExist(bname);
|
||||
if (mode == MODE_WEBTV)
|
||||
|
Reference in New Issue
Block a user