summaryrefslogtreecommitdiff
path: root/menudetailview.c
diff options
context:
space:
mode:
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) {