diff options
| author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-01-07 10:17:19 +0100 |
|---|---|---|
| committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-01-07 10:17:19 +0100 |
| commit | c247c9cc03cf516be1c3c6ac79feee0377f6d227 (patch) | |
| tree | 28ae9238baca109e7b9e238ac083732d202c21f2 | |
| parent | 684c6a3399db3d45da34a6a24cd8c09e5e059b9b (diff) | |
| download | vdr-plugin-epgsearch-c247c9cc03cf516be1c3c6ac79feee0377f6d227.tar.gz vdr-plugin-epgsearch-c247c9cc03cf516be1c3c6ac79feee0377f6d227.tar.bz2 | |
- fixed a typo in logs
- fixed too less timers when combining 'avoid repeats' with 'pause when ... recordings exist'
| -rw-r--r-- | epgsearchext.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/epgsearchext.c b/epgsearchext.c index 3706cf2..2452a06 100644 --- a/epgsearchext.c +++ b/epgsearchext.c @@ -1134,7 +1134,7 @@ void cSearchExt::CheckRepeatTimers(cSearchResults* pResults) cRecDone* firstRec = NULL; LogFile.Log(3,"get count recordings"); records = RecsDone.GetCountRecordings(pEvent, this, &firstRec); - LogFile.Log(3,"rec ordings: %d", records); + LogFile.Log(3,"recordings: %d", records); if (records > allowedRepeats) // already recorded { @@ -1239,7 +1239,11 @@ void cSearchExt::CheckExistingRecordings(cSearchResults* pResults) int remain = pauseOnNrRecordings - num; for (pResultObj = pResults->First(); pResultObj; pResultObj = pResults->Next(pResultObj), remain--) { - if (!pResultObj->needsTimer) continue; // maybe already disabled because of done feature + if (!pResultObj->needsTimer) + { + remain++; + continue; // maybe already disabled because of done feature + } pResultObj->needsTimer = (remain > 0); if (remain <= 0) { |
