diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-07 15:57:26 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-07 15:57:26 +0200 |
commit | 8905334e795a299f332395b92faaa5560b2d4c7f (patch) | |
tree | 547ddad686a9cd3c6a5b77d8dd47448319fe3b63 /recstatus.c | |
parent | 708819a7b5653f2d66c7fb17baba2c7a081a47a7 (diff) | |
download | vdr-plugin-epgsearch-8905334e795a299f332395b92faaa5560b2d4c7f.tar.gz vdr-plugin-epgsearch-8905334e795a299f332395b92faaa5560b2d4c7f.tar.bz2 |
Drop legacy code prior VDR 2.3.x
Diffstat (limited to 'recstatus.c')
-rw-r--r-- | recstatus.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/recstatus.c b/recstatus.c index 587be82..c53888f 100644 --- a/recstatus.c +++ b/recstatus.c @@ -48,12 +48,8 @@ void cRecStatusMonitor::Recording(const cDevice *Device, const char *Name, const if (EPGSearchConfig.checkTimerConflOnRecording) cConflictCheckThread::Init((cPluginEpgsearch*)cPluginManager::GetPlugin("epgsearch"), true); -#if VDRVERSNUM > 20300 LOCK_TIMERS_READ; const cTimers *vdrtimers = Timers; -#else - cTimers *vdrtimers = &Timers; -#endif for (const cTimer *ti = vdrtimers->First(); ti; ti = vdrtimers->Next(ti)) if (ti->Recording()) { @@ -119,12 +115,8 @@ void cRecStatusMonitor::Recording(const cDevice *Device, const char *Name, const // check if timer still exists bool found = false; -#if VDRVERSNUM > 20300 LOCK_TIMERS_READ; const cTimers *vdrtimers = Timers; -#else - cTimers *vdrtimers = &Timers; -#endif for (const cTimer *ti = vdrtimers->First(); ti; ti = vdrtimers->Next(ti)) if (ti == tiR->timer) { @@ -142,12 +134,8 @@ void cRecStatusMonitor::Recording(const cDevice *Device, const char *Name, const // check if recording has ended before timer end bool complete = true; -#if VDRVERSNUM > 20300 LOCK_RECORDINGS_READ; const cRecordings *vdrrecordings = Recordings; -#else - cRecordings *vdrrecordings = &Recordings; -#endif const cRecording *pRecording = vdrrecordings->GetByName(Filename); long timerLengthSecs = tiR->timer->StopTime()-tiR->timer->StartTime(); int recFraction = 100; |