summaryrefslogtreecommitdiff
path: root/menudetailview.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-04-14 18:09:23 +0200
committerlouis <louis.braun@gmx.de>2014-04-14 18:09:23 +0200
commitf098d9e6a0cac45a591c673710430e10cac199f1 (patch)
tree5c61d1518607040c390ab83f8dd6744fa6cb4d5a /menudetailview.c
parentcca206e7184e4ba9e2b07526eec6f402d92df804 (diff)
downloadskin-nopacity-f098d9e6a0cac45a591c673710430e10cac199f1.tar.gz
skin-nopacity-f098d9e6a0cac45a591c673710430e10cac199f1.tar.bz2
Only display poster in detailed recordings view
Diffstat (limited to 'menudetailview.c')
-rw-r--r--menudetailview.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menudetailview.c b/menudetailview.c
index 7ce2c53..c45b5b0 100644
--- a/menudetailview.c
+++ b/menudetailview.c
@@ -1011,7 +1011,9 @@ void cNopacityMenuDetailRecordingView::SetContent(void) {
}
}
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) {