From d9000939765f3c634985a1cd2cb439be4d77f52b Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 22 Jan 2023 18:00:35 -0600 Subject: [PATCH] Fix:Make m4b embed cover image --- server/managers/AbMergeManager.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/managers/AbMergeManager.js b/server/managers/AbMergeManager.js index d59c284e..33a085b7 100644 --- a/server/managers/AbMergeManager.js +++ b/server/managers/AbMergeManager.js @@ -141,6 +141,10 @@ class AbMergeManager { 'TrackNumber': 1, } + if (libraryItem.media.coverPath) { + task.data.toneJsonObject['CoverFile'] = libraryItem.media.coverPath + } + const workerData = { inputs: ffmpegInputs, options: ffmpegOptions,