summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-04-14 18:05:44 +0200
committerlouis <louis.braun@gmx.de>2014-04-14 18:05:44 +0200
commitcca206e7184e4ba9e2b07526eec6f402d92df804 (patch)
treebcfe558d6791559a62b64410f86abca4a62a12ec
parent824f7a2658a116d7e4f9e6f44b4b61dfb3a340d0 (diff)
downloadskin-nopacity-cca206e7184e4ba9e2b07526eec6f402d92df804.tar.gz
skin-nopacity-cca206e7184e4ba9e2b07526eec6f402d92df804.tar.bz2
Only display poster in detailed EPG View if really available
-rw-r--r--menudetailview.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menudetailview.c b/menudetailview.c
index 9dabe3d..7ce2c53 100644
--- a/menudetailview.c
+++ b/menudetailview.c
@@ -618,7 +618,9 @@ void cNopacityMenuDetailEventView::SetContent(void) {
contentWidth = width;
contentX = 0;
bool displayPoster = false;
- if (isSeries || isMovie) {
+ if (isSeries && series.posters.size() > 0) {
+ displayPoster = true;
+ } else if (isMovie && (movie.poster.width > 0) && (movie.poster.height > 0) && (movie.poster.path.size() > 0)) {
displayPoster = true;
} else if (hasAdditionalMedia) {
if (mediaInfo.posters.size() >= 1) {