diff --git a/app/src/components/Common.js b/app/src/components/Common.js index 0262bbc3..d7b89253 100644 --- a/app/src/components/Common.js +++ b/app/src/components/Common.js @@ -473,6 +473,10 @@ export function findPosterPath(file) { if (screenshot_path) { return screenshot_path; } + if (file['data'] && file['data']['cover_path']) { + // Ebook. + return file['data']['cover_path']; + } if (video && video['poster_path']) { // file is a video model. return video['poster_path'];