modify autocreate HD _and_ UHD channels as seperate lists

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9c12ce65aa
Author: TangoCash <eric@loxat.de>
Date: 2017-10-20 (Fri, 20 Oct 2017)



------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-10-20 08:02:09 +02:00
committed by Thilo Graf
parent 49ac45d936
commit 77a4db2431
7 changed files with 25 additions and 4 deletions

View File

@@ -1696,6 +1696,12 @@ void CNeutrinoApp::channelsInit(bool bOnly)
TVallList->Bouquets.push_back(hdBouquet);
printf("[neutrino] got %d HD channels\n", (int)zapitList.size()); fflush(stdout);
}
if (CServiceManager::getInstance()->GetAllUHDChannels(zapitList)) {
CBouquet* uhdBouquet = new CBouquet(0, g_Locale->getText(LOCALE_BOUQUETNAME_UHDTV), false, true);
uhdBouquet->channelList->SetChannelList(&zapitList);
TVallList->Bouquets.push_back(uhdBouquet);
printf("[neutrino] got %d UHD channels\n", (int)zapitList.size()); fflush(stdout);
}
}
/* new channels */
if (g_settings.make_new_list) {