zapit/src/zapit.cpp: add CServiceManager::getInstance()->CopyCurrentServices() on update

This commit is contained in:
[CST] Focus
2012-04-03 20:43:26 +04:00
parent 5023604dbd
commit ee40edbe41

View File

@@ -2306,6 +2306,7 @@ void CZapitSdtMonitor::run()
sdt_tp.insert(std::pair <transponder_id_t, time_t> (tpid, time_monotonic()));
bool updated = CServiceManager::getInstance()->SaveCurrentServices(tpid);
CServiceManager::getInstance()->CopyCurrentServices(tpid);
if(updated && (CZapit::getInstance()->scanSDT() == 1))
CZapit::getInstance()->SendEvent(CZapitClient::EVT_SDT_CHANGED);