From e27a77b74d0b170dc0cf79003f2a489659b1b31f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 26 Mar 2012 19:53:17 +0400 Subject: [PATCH] zapit/src/scan.cpp: reset channel numbers if requested Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/9021eb9e4ed41e3986ce524c43281583218ee999 Author: [CST] Focus Date: 2012-03-26 (Mon, 26 Mar 2012) --- src/zapit/src/scan.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zapit/src/scan.cpp b/src/zapit/src/scan.cpp index e059d503e..510d19240 100644 --- a/src/zapit/src/scan.cpp +++ b/src/zapit/src/scan.cpp @@ -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");