mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
zapit/src/scan.cpp: reset channel numbers if requested
Origin commit data
------------------
Commit: 9021eb9e4e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-26 (Mon, 26 Mar 2012)
This commit is contained in:
@@ -490,6 +490,8 @@ void CServiceScan::SaveServices()
|
|||||||
g_bouquetManager->loadBouquets();
|
g_bouquetManager->loadBouquets();
|
||||||
printf("[scan] save bouquets done\n");
|
printf("[scan] save bouquets done\n");
|
||||||
#endif
|
#endif
|
||||||
|
if(flags & SCAN_RESET_NUMBERS)
|
||||||
|
CServiceManager::getInstance()->ResetChannelNumbers(true, true);
|
||||||
/* first save bouquets, next load to re-number */
|
/* first save bouquets, next load to re-number */
|
||||||
g_bouquetManager->saveBouquets();
|
g_bouquetManager->saveBouquets();
|
||||||
printf("[scan] save bouquets done\n");
|
printf("[scan] save bouquets done\n");
|
||||||
|
Reference in New Issue
Block a user