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 | |
| 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
| -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 = ""; |
