diff options
| author | louis <louis.braun@gmx.de> | 2015-04-02 07:27:15 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-04-02 07:27:15 +0200 |
| commit | 60a41eb99672297d3dc79baa5c0a319dc0500337 (patch) | |
| tree | e92a030b09606cba50c0f2f190c04752ccf29992 /views | |
| parent | 3ae6a149f83c5d4fdad3d9dae7d12a25c7998549 (diff) | |
| download | vdr-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
Diffstat (limited to 'views')
| -rw-r--r-- | views/viewhelpers.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 = ""; |
