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:
[CST] Focus
2012-03-26 19:53:17 +04:00
parent 701c4d0118
commit e27a77b74d

View File

@@ -490,6 +490,8 @@ void CServiceScan::SaveServices()
g_bouquetManager->loadBouquets();
printf("[scan] save bouquets done\n");
#endif
if(flags & SCAN_RESET_NUMBERS)
CServiceManager::getInstance()->ResetChannelNumbers(true, true);
/* first save bouquets, next load to re-number */
g_bouquetManager->saveBouquets();
printf("[scan] save bouquets done\n");