diff options
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1340,6 +1340,8 @@ void cEpgd::loop() scheduleAutoUpdate(EpgdConfig.checkInitial ? 10 : 0); + scrapNewEvents(); // # debug scarper at Start + while (!doShutDown()) { setState(Es::esStandby); @@ -2307,9 +2309,12 @@ int cEpgd::scrapNewEvents() cSystemNotification::check(); - if (seriesCur%10 == 0) + if (seriesCur % 10 == 0) tell(0, "series episode %d / %d scraped...continuing scraping", seriesCur, seriesTotal); + if (seriesCur % 50 == 0) + sleep(1); + tvdbManager->ProcessSeries(*it); if (doShutDown()) @@ -2351,9 +2356,12 @@ int cEpgd::scrapNewEvents() { movieCur++; - if (movieCur%10 == 0) + if (movieCur % 10 == 0) tell(0, "movie %d / %d scraped...continuing scraping", movieCur, moviesTotal); + if (movieCur % 50 == 0) + sleep(1); + movieDbManager->ProcessMovie(*it); if (doShutDown()) |