diff --git a/server/utils/ffmpegHelpers.js b/server/utils/ffmpegHelpers.js index aa0b480575..40968465e8 100644 --- a/server/utils/ffmpegHelpers.js +++ b/server/utils/ffmpegHelpers.js @@ -104,7 +104,8 @@ module.exports.downloadPodcastEpisode = (podcastEpisodeDownload) => { const ffmpeg = Ffmpeg(response.data) ffmpeg.addOption('-loglevel debug') // Debug logs printed on error ffmpeg.outputOptions( - '-c', 'copy', + '-c:a', 'copy', + '-map', '0:a', '-metadata', 'podcast=1' ) diff --git a/server/utils/fileUtils.js b/server/utils/fileUtils.js index 1fc161c7ff..a4a97f63ed 100644 --- a/server/utils/fileUtils.js +++ b/server/utils/fileUtils.js @@ -59,7 +59,7 @@ async function getFileTimestampsWithIno(path) { ino: String(stat.ino) } } catch (err) { - Logger.error('[fileUtils] Failed to getFileTimestampsWithIno', err) + Logger.error(`[fileUtils] Failed to getFileTimestampsWithIno for path "${path}"`, err) return false } }