mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added {channelnumber} and {channelname} Tokens in displaymenudetailepg
This commit is contained in:
parent
0ed710a868
commit
182a6df2a9
9
HISTORY
9
HISTORY
@ -67,8 +67,10 @@ Version 0.0.3
|
|||||||
- fixed Bug that displaychannel was not shown after closing displaymenu with
|
- fixed Bug that displaychannel was not shown after closing displaymenu with
|
||||||
"backspace" (with active menuorg plugin)
|
"backspace" (with active menuorg plugin)
|
||||||
- fixed Bug with menuselection Patch
|
- fixed Bug with menuselection Patch
|
||||||
- added tokens {month}, {monthname} and {year} in displaymenutimers listitem and currentitem
|
- added tokens {month}, {monthname} and {year} in displaymenutimers listitem and
|
||||||
- added dedicated tokens for posters and banners in <srapercontent> in displaychannel and displayreplay
|
currentitem
|
||||||
|
- added dedicated tokens for posters and banners in <srapercontent> in
|
||||||
|
displaychannel and displayreplay
|
||||||
- added Plugin Interface
|
- added Plugin Interface
|
||||||
- fixed crash when clearing a message in displaychannel and displayreplay
|
- fixed crash when clearing a message in displaychannel and displayreplay
|
||||||
- fixed positioning of scaled video window if borders are configured
|
- fixed positioning of scaled video window if borders are configured
|
||||||
@ -78,3 +80,6 @@ Version 0.0.4
|
|||||||
- added SVG Support - thanks to Manuel Reimer!
|
- added SVG Support - thanks to Manuel Reimer!
|
||||||
|
|
||||||
Version 0.0.5
|
Version 0.0.5
|
||||||
|
|
||||||
|
- added {channelnumber} and {channelname} Tokens in displaymenudetailepg
|
||||||
|
detailheader
|
||||||
|
@ -101,6 +101,8 @@
|
|||||||
{durationhours} duration, full hours
|
{durationhours} duration, full hours
|
||||||
{durationminutes} duration, rest of minutes
|
{durationminutes} duration, rest of minutes
|
||||||
{vps} vps description string
|
{vps} vps description string
|
||||||
|
{channelname} Channelname of event
|
||||||
|
{channelnumber} Channelnumber of event
|
||||||
{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
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
{durationhours} duration, full hours
|
{durationhours} duration, full hours
|
||||||
{durationminutes} duration, rest of minutes
|
{durationminutes} duration, rest of minutes
|
||||||
{vps} vps description string
|
{vps} vps description string
|
||||||
|
{channelname} Channelname of event
|
||||||
|
{channelnumber} Channelnumber of event
|
||||||
{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
|
||||||
|
@ -856,6 +856,14 @@ void cDisplayMenuDetailView::DrawHeader(void) {
|
|||||||
headerIntTokens.insert(pair<string, int>("daynumeric", sStartTime->tm_mday));
|
headerIntTokens.insert(pair<string, int>("daynumeric", sStartTime->tm_mday));
|
||||||
headerIntTokens.insert(pair<string, int>("month", sStartTime->tm_mon+1));
|
headerIntTokens.insert(pair<string, int>("month", sStartTime->tm_mon+1));
|
||||||
|
|
||||||
|
const cChannel *channel = Channels.GetByChannelID(event->ChannelID());
|
||||||
|
if (channel) {
|
||||||
|
headerStringTokens.insert(pair<string,string>("channelname", channel->Name() ? channel->Name() : ""));
|
||||||
|
headerIntTokens.insert(pair<string, int>("channelnumber", channel->Number()));
|
||||||
|
} else {
|
||||||
|
headerStringTokens.insert(pair<string,string>("channelname", ""));
|
||||||
|
headerIntTokens.insert(pair<string, int>("channelnumber", 0));
|
||||||
|
}
|
||||||
headerStringTokens.insert(pair<string,string>("channelid", *(event->ChannelID().ToString())));
|
headerStringTokens.insert(pair<string,string>("channelid", *(event->ChannelID().ToString())));
|
||||||
|
|
||||||
bool isRunning = false;
|
bool isRunning = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user