diff options
| -rw-r--r-- | HISTORY | 4 | ||||
| -rw-r--r-- | views/viewhelpers.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -260,4 +260,6 @@ Version 0.3.3 no signal information will be fetched to improve performance. Version 0.3.4 -
\ No newline at end of file + +- fixed backward compatibility to VDR version < 2.1.1 where + cRecording::IsInUse() was introduced
\ No newline at end of file diff --git a/views/viewhelpers.c b/views/viewhelpers.c index 043f849..ebc9d75 100644 --- a/views/viewhelpers.c +++ b/views/viewhelpers.c @@ -626,9 +626,11 @@ void cViewHelpers::SetLastRecordings(map<string,int> *intTokens, map<string,stri Recordings.Sort(); int found = 0; for (cRecording *recording = Recordings.Last(); recording; recording = Recordings.Prev(recording)) { +#if APIVERSNUM >= 20101 if (recording->IsInUse()) { continue; } +#endif map< string, string > recVals; string recFullPath = recording->Name() ? recording->Name() : ""; string recName = ""; |
