diff options
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; |
