summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-02 07:27:15 +0200
committerlouis <louis.braun@gmx.de>2015-04-02 07:27:15 +0200
commit60a41eb99672297d3dc79baa5c0a319dc0500337 (patch)
treee92a030b09606cba50c0f2f190c04752ccf29992
parent3ae6a149f83c5d4fdad3d9dae7d12a25c7998549 (diff)
downloadvdr-plugin-skindesigner-60a41eb99672297d3dc79baa5c0a319dc0500337.tar.gz
vdr-plugin-skindesigner-60a41eb99672297d3dc79baa5c0a319dc0500337.tar.bz2
fixed backward compatibility to VDR version < 2.1.1 where cRecording::IsInUse() was introduced
-rw-r--r--HISTORY4
-rw-r--r--views/viewhelpers.c2
2 files changed, 5 insertions, 1 deletions
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<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 = "";