webtv: move loading to bouquets.cpp,

add optional webtvs name= as 'provider' name, and webtv genre= attibutes,
resulting 'provider' created as [name ][genre] with name as WebTV if name absent
This commit is contained in:
[CST] Focus
2015-05-12 17:17:17 +03:00
parent 336dbca45c
commit 8ea4196d50
4 changed files with 68 additions and 46 deletions

View File

@@ -1515,12 +1515,14 @@ void CNeutrinoApp::channelsInit(bool bOnly)
AllFavBouquetList->addBouquet(b);
}
}
#if 0
if (!webtvList.empty()) {
/* provider */
CBouquet* webtvBouquet = new CBouquet(0, g_Locale->getText(LOCALE_BOUQUETNAME_WEBTV), false, true);
webtvBouquet->channelList->SetChannelList(&webtvList);
TVbouquetList->Bouquets.push_back(webtvBouquet);
}
#endif
printf("[neutrino] got %d TV and %d RADIO bouquets\n", tvi, ri); fflush(stdout);
TIMER_STOP("[neutrino] took");