mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed backward compatibility to VDR version < 2.1.1 where cRecording::IsInUse() was introduced
This commit is contained in:
parent
3ae6a149f8
commit
60a41eb996
4
HISTORY
4
HISTORY
@ -260,4 +260,6 @@ Version 0.3.3
|
||||
no signal information will be fetched to improve performance.
|
||||
|
||||
Version 0.3.4
|
||||
|
||||
|
||||
- fixed backward compatibility to VDR version < 2.1.1 where
|
||||
cRecording::IsInUse() was introduced
|
@ -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 = "";
|
||||
|
Loading…
Reference in New Issue
Block a user