Mark some found bugs with FIXME

Origin commit data
------------------
Commit: 2209489d3e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-22 (Thu, 22 Mar 2012)
This commit is contained in:
[CST] Focus
2012-03-22 18:15:18 +04:00
parent 8d10fb4257
commit ad35ccbc83
2 changed files with 5 additions and 2 deletions

View File

@@ -373,6 +373,8 @@ int CChannelList::doChannelMenu(void)
if(result == CMessageBox::mbrYes) { if(result == CMessageBox::mbrYes) {
bouquet_id = bouquetList->getActiveBouquetNumber(); bouquet_id = bouquetList->getActiveBouquetNumber();
/* FIXME if bouquet name not unique, this is bad,
* existsBouquet can find wrong bouquet */
if(!strcmp(bouquetList->Bouquets[bouquet_id]->channelList->getName(), g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME))) if(!strcmp(bouquetList->Bouquets[bouquet_id]->channelList->getName(), g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME)))
bouquet_id = g_bouquetManager->existsUBouquet(g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME), true); bouquet_id = g_bouquetManager->existsUBouquet(g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME), true);
else else

View File

@@ -1307,7 +1307,7 @@ void CNeutrinoApp::channelsInit(bool bOnly)
TIMER_STOP("[neutrino] sats took"); TIMER_STOP("[neutrino] sats took");
} }
/* Favorites and provides TV bouquets */ /* Favorites and providers TV bouquets */
bnum = 0; bnum = 0;
for (i = 0; i < g_bouquetManager->Bouquets.size(); i++) { for (i = 0; i < g_bouquetManager->Bouquets.size(); i++) {
if (!g_bouquetManager->Bouquets[i]->bHidden && !g_bouquetManager->Bouquets[i]->tvChannels.empty()) if (!g_bouquetManager->Bouquets[i]->bHidden && !g_bouquetManager->Bouquets[i]->tvChannels.empty())
@@ -1325,7 +1325,7 @@ void CNeutrinoApp::channelsInit(bool bOnly)
printf("[neutrino] got %d TV bouquets\n", bnum); fflush(stdout); printf("[neutrino] got %d TV bouquets\n", bnum); fflush(stdout);
TIMER_STOP("[neutrino] tv took"); TIMER_STOP("[neutrino] tv took");
/* FIXME HD bouquet must be virtual ? it is not now */
if(g_settings.make_hd_list) { if(g_settings.make_hd_list) {
if(hi) if(hi)
TVfavList->Bouquets.push_back(hdBouquet); TVfavList->Bouquets.push_back(hdBouquet);
@@ -2298,6 +2298,7 @@ _show:
nNewChannel = bouquetList->exec(true); nNewChannel = bouquetList->exec(true);
} }
_repeat: _repeat:
//FIXME wrong name after channel delete ? */
CVFD::getInstance ()->showServicename(channelList->getActiveChannelName()); CVFD::getInstance ()->showServicename(channelList->getActiveChannelName());
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
printf("************************* ZAP RES: nNewChannel %d\n", nNewChannel);fflush(stdout); printf("************************* ZAP RES: nNewChannel %d\n", nNewChannel);fflush(stdout);