mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
provide 10 last recordings in <lastrecordings> viewelement
This commit is contained in:
parent
b4c82f5066
commit
ac70c7bd59
1
HISTORY
1
HISTORY
@ -336,3 +336,4 @@ Version 0.4.6
|
||||
Version 0.4.7
|
||||
- fixed crash when deleting menuitem
|
||||
- fixed ecm time display
|
||||
- provide 10 last recordings in <lastrecordings> viewelement
|
||||
|
@ -20,9 +20,9 @@
|
||||
<timers detached="false">
|
||||
</timers>
|
||||
|
||||
<!-- Available Variables lastrecordings: 5 newest recordings
|
||||
<!-- Available Variables lastrecordings: 10 newest recordings
|
||||
{numtimers} number of active timers
|
||||
{recordings[]} array with 5 newest recordings
|
||||
{recordings[]} array with 10 newest recordings
|
||||
{recordings[name]} name of recording
|
||||
{recordings[seriesname]} series name if available
|
||||
{recordings[date]} date of recording in dd.mm.yy
|
||||
|
@ -873,7 +873,7 @@ void cViewHelpers::SetLastRecordings(map<string,int> *intTokens, map<string,stri
|
||||
recVals.insert(pair< string, string >("recordings[posterheight]", sPosterHeight.str()));
|
||||
lastRecordings->push_back(recVals);
|
||||
found++;
|
||||
if (found == 5)
|
||||
if (found == 10)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user