mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added hasVPS for current scheduling in displaychannel -> epginfo
This commit is contained in:
@@ -135,6 +135,7 @@ void cDisplayChannelView::DrawEPGInfo(const cEvent *present, const cEvent *next,
|
||||
intTokens.insert(pair<string,int>("currentelapsed", (int)round((time(NULL) - present->StartTime())/60)));
|
||||
intTokens.insert(pair<string,int>("currentremaining", (int)round((present->EndTime() - time(NULL))/60)));
|
||||
intTokens.insert(pair<string,int>("currentrecording", presentRecording ? 1 : 0));
|
||||
intTokens.insert(pair<string,int>("hasVPS", present->Vps()));
|
||||
} else {
|
||||
stringTokens.insert(pair<string,string>("currenttitle", ""));
|
||||
stringTokens.insert(pair<string,string>("currentsubtitle", ""));
|
||||
@@ -145,6 +146,7 @@ void cDisplayChannelView::DrawEPGInfo(const cEvent *present, const cEvent *next,
|
||||
intTokens.insert(pair<string,int>("currentelapsed", 0));
|
||||
intTokens.insert(pair<string,int>("currentremaining", 0));
|
||||
intTokens.insert(pair<string,int>("currentrecording", 0));
|
||||
intTokens.insert(pair<string,int>("hasVPS", 0));
|
||||
}
|
||||
|
||||
if (next) {
|
||||
|
Reference in New Issue
Block a user