summaryrefslogtreecommitdiff
path: root/views/displaymenuitemcurrentview.c
diff options
context:
space:
mode:
Diffstat (limited to 'views/displaymenuitemcurrentview.c')
-rw-r--r--views/displaymenuitemcurrentview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/displaymenuitemcurrentview.c b/views/displaymenuitemcurrentview.c
index d9263c4..312b041 100644
--- a/views/displaymenuitemcurrentview.c
+++ b/views/displaymenuitemcurrentview.c
@@ -42,7 +42,7 @@ void cDisplayMenuItemCurrentView::SetScraperPoster(const cEvent *event, const cR
call.event = event;
call.recording = recording;
if (pScraper->Service("GetPoster", &call)) {
- intTokens.insert(pair<string,int>("hasposter", true));
+ intTokens.insert(pair<string,int>("hasposter", FileExists(call.poster.path)));
intTokens.insert(pair<string,int>("posterwidth", call.poster.width));
intTokens.insert(pair<string,int>("posterheight", call.poster.height));
stringTokens.insert(pair<string,string>("posterpath", call.poster.path));