From 60a41eb99672297d3dc79baa5c0a319dc0500337 Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 2 Apr 2015 07:27:15 +0200 Subject: [PATCH] fixed backward compatibility to VDR version < 2.1.1 where cRecording::IsInUse() was introduced --- HISTORY | 4 +++- views/viewhelpers.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index f7cb959..8d49d34 100644 --- a/HISTORY +++ b/HISTORY @@ -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 *intTokens, map= 20101 if (recording->IsInUse()) { continue; } +#endif map< string, string > recVals; string recFullPath = recording->Name() ? recording->Name() : ""; string recName = "";