diff options
Diffstat (limited to 'recmanager.c')
-rw-r--r-- | recmanager.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/recmanager.c b/recmanager.c index c470073..092f942 100644 --- a/recmanager.c +++ b/recmanager.c @@ -46,9 +46,17 @@ bool cRecManager::CheckEventForTimer(const cEvent *event) { pRemoteTimers->Service("RemoteTimers::GetMatch-v1.0", &rtMatch); if (rtMatch.timerMatch == tmFull) hasTimer = true; - } else + } else { +#if VDRVERSNUM >= 20301 + eTimerMatch TimerMatch = tmNone; + LOCK_TIMERS_READ; + const cTimers *timers = Timers; + if (timers->GetMatch(event, &TimerMatch) && (TimerMatch == tmFull)) + hasTimer = true; +#else hasTimer = event->HasTimer(); - +#endif + } return hasTimer; } |