mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added vps token in menudetailepg
This commit is contained in:
parent
0e0f05cfcb
commit
71aed6f5cf
1
HISTORY
1
HISTORY
@ -20,3 +20,4 @@ Version 0.0.2
|
|||||||
- added setup options to configure rerun display behaviour
|
- added setup options to configure rerun display behaviour
|
||||||
- changed display of menu lists, do flush first after complete rendering
|
- changed display of menu lists, do flush first after complete rendering
|
||||||
- added support for custom tokens in dislaychannel
|
- added support for custom tokens in dislaychannel
|
||||||
|
- added vps token in menudetailepg
|
||||||
|
@ -100,6 +100,7 @@
|
|||||||
{duration} duration of event
|
{duration} duration of event
|
||||||
{durationhours} duration, full hours
|
{durationhours} duration, full hours
|
||||||
{durationminutes} duration, rest of minutes
|
{durationminutes} duration, rest of minutes
|
||||||
|
{vps} vps description string
|
||||||
{channelid} ChannelID as path to display channel logo
|
{channelid} ChannelID as path to display channel logo
|
||||||
{ismovie} true if event is scraped as a movie
|
{ismovie} true if event is scraped as a movie
|
||||||
{isseries} true if event is scraped as a series
|
{isseries} true if event is scraped as a series
|
||||||
@ -153,6 +154,7 @@
|
|||||||
{duration} duration of event
|
{duration} duration of event
|
||||||
{durationhours} duration, full hours
|
{durationhours} duration, full hours
|
||||||
{durationminutes} duration, rest of minutes
|
{durationminutes} duration, rest of minutes
|
||||||
|
{vps} vps description string
|
||||||
{channelid} ChannelID as path to display channel logo
|
{channelid} ChannelID as path to display channel logo
|
||||||
{hasreruns} true if reruns of this event are found
|
{hasreruns} true if reruns of this event are found
|
||||||
{reruns[]} array with reruns
|
{reruns[]} array with reruns
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
{duration} duration of event
|
{duration} duration of event
|
||||||
{durationhours} duration, full hours
|
{durationhours} duration, full hours
|
||||||
{durationminutes} duration, rest of minutes
|
{durationminutes} duration, rest of minutes
|
||||||
|
{vps} vps description string
|
||||||
{channelid} ChannelID as path to display channel logo
|
{channelid} ChannelID as path to display channel logo
|
||||||
{ismovie} true if event is scraped as a movie
|
{ismovie} true if event is scraped as a movie
|
||||||
{isseries} true if event is scraped as a series
|
{isseries} true if event is scraped as a series
|
||||||
@ -47,6 +48,7 @@
|
|||||||
{duration} duration of event
|
{duration} duration of event
|
||||||
{durationhours} duration, full hours
|
{durationhours} duration, full hours
|
||||||
{durationminutes} duration, rest of minutes
|
{durationminutes} duration, rest of minutes
|
||||||
|
{vps} vps description string
|
||||||
{channelid} ChannelID as path to display channel logo
|
{channelid} ChannelID as path to display channel logo
|
||||||
{hasreruns} true if reruns of this event are found
|
{hasreruns} true if reruns of this event are found
|
||||||
{reruns[]} array with reruns
|
{reruns[]} array with reruns
|
||||||
|
@ -126,6 +126,7 @@ void cDisplayMenuDetailView::SetTokens(void) {
|
|||||||
intTokens.insert(pair<string,int>("duration", event->Duration() / 60));
|
intTokens.insert(pair<string,int>("duration", event->Duration() / 60));
|
||||||
intTokens.insert(pair<string,int>("durationhours", event->Duration() / 3600));
|
intTokens.insert(pair<string,int>("durationhours", event->Duration() / 3600));
|
||||||
stringTokens.insert(pair<string,string>("durationminutes", *cString::sprintf("%.2d", (event->Duration() / 60)%60)));
|
stringTokens.insert(pair<string,string>("durationminutes", *cString::sprintf("%.2d", (event->Duration() / 60)%60)));
|
||||||
|
stringTokens.insert(pair<string,string>("vps", *event->GetVpsString()));
|
||||||
|
|
||||||
vector< map< string, string > > reruns;
|
vector< map< string, string > > reruns;
|
||||||
bool hasReruns = LoadReruns(&reruns);
|
bool hasReruns = LoadReruns(&reruns);
|
||||||
@ -851,6 +852,7 @@ void cDisplayMenuDetailView::DrawHeader(void) {
|
|||||||
headerIntTokens.insert(pair<string,int>("duration", event->Duration() / 60));
|
headerIntTokens.insert(pair<string,int>("duration", event->Duration() / 60));
|
||||||
headerIntTokens.insert(pair<string,int>("durationhours", event->Duration() / 3600));
|
headerIntTokens.insert(pair<string,int>("durationhours", event->Duration() / 3600));
|
||||||
headerStringTokens.insert(pair<string,string>("durationminutes", *cString::sprintf("%.2d", (event->Duration() / 60)%60)));
|
headerStringTokens.insert(pair<string,string>("durationminutes", *cString::sprintf("%.2d", (event->Duration() / 60)%60)));
|
||||||
|
headerStringTokens.insert(pair<string,string>("vps", *event->GetVpsString()));
|
||||||
|
|
||||||
stringstream epgImageName;
|
stringstream epgImageName;
|
||||||
epgImageName << event->EventID();
|
epgImageName << event->EventID();
|
||||||
|
Loading…
Reference in New Issue
Block a user