diff options
| author | louis <louis.braun@gmx.de> | 2014-11-01 10:23:34 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-11-01 10:23:34 +0100 |
| commit | 13817c785fcf2589f857b169fd9af9e428dc64b5 (patch) | |
| tree | 06abb410a4c356b13713ee9a674a320a342750d5 /views/displaymenuitemcurrentview.c | |
| parent | 3d702a9ad5f04179d78659f48579f3466abbe69a (diff) | |
| download | vdr-plugin-skindesigner-13817c785fcf2589f857b169fd9af9e428dc64b5.tar.gz vdr-plugin-skindesigner-13817c785fcf2589f857b169fd9af9e428dc64b5.tar.bz2 | |
added {channelname}, {channelid}, {channellogoexists} for all schedules list and current views
Diffstat (limited to 'views/displaymenuitemcurrentview.c')
| -rw-r--r-- | views/displaymenuitemcurrentview.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/displaymenuitemcurrentview.c b/views/displaymenuitemcurrentview.c index 312b041..ce9fb22 100644 --- a/views/displaymenuitemcurrentview.c +++ b/views/displaymenuitemcurrentview.c @@ -165,7 +165,10 @@ void cDisplayMenuItemCurrentSchedulesView::Render(void) { SetScraperPoster(event); } if (channel) { - stringTokens.insert(pair<string,string>("channelid", *(channel->GetChannelID().ToString()))); + stringTokens.insert(pair<string,string>("channelname", channel->Name() ? channel->Name() : "")); + string channelID = *(channel->GetChannelID().ToString()); + stringTokens.insert(pair<string,string>("channelid", channelID)); + intTokens.insert(pair<string, int>("channellogoexists", imgCache->LogoExists(channelID))); } vector< map<string,string> > schedulesTokens; |
