mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
reloadchannels: make sure that channel flags are updated when reloading
Origin commit data
------------------
Branch: ni/coolstream
Commit: 80c5185bbb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -282,6 +282,9 @@ int CScanSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
printf("[neutrino] CScanSetup::%s reloadchannels...\n", __FUNCTION__);
|
||||
if (reloadhintBox)
|
||||
reloadhintBox->paint();
|
||||
/* save if changed, to make sure NEW/REMOVED/... flags are updated */
|
||||
CServiceManager::getInstance()->SaveServices(true, true);
|
||||
/* Z->reinitChannels triggers EVT_SERVICESCHANGED and this triggers channelsInit() */
|
||||
g_Zapit->reinitChannels();
|
||||
if (reloadhintBox)
|
||||
reloadhintBox->hide();
|
||||
|
@@ -2498,6 +2498,7 @@ _repeat:
|
||||
//g_Zapit->saveBouquets();
|
||||
/* lets do it in sync */
|
||||
reloadhintBox->paint();
|
||||
CServiceManager::getInstance()->SaveServices(true, true);
|
||||
g_bouquetManager->saveBouquets();
|
||||
g_bouquetManager->saveUBouquets();
|
||||
g_bouquetManager->renumServices();
|
||||
|
Reference in New Issue
Block a user