diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-05 16:03:25 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-05 16:03:25 +0200 |
commit | ebd63f9a42ebf2024f326ff506c009d13446bca5 (patch) | |
tree | b6f4f8529e94d33a71e65c88df21092c4b6fec62 /recmanager.c | |
parent | ea3ae01abb7a86bc07874199be647fae75c3a795 (diff) | |
download | vdr-plugin-tvguideng-ebd63f9a42ebf2024f326ff506c009d13446bca5.tar.gz vdr-plugin-tvguideng-ebd63f9a42ebf2024f326ff506c009d13446bca5.tar.bz2 |
Correct an error with the recording sign in grid
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; } |