Skip to content

Commit

Permalink
Update:Podcast episode downloader only takes audio streams #2858
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Apr 17, 2024
1 parent f0caf1a commit dbe1038
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion server/utils/ffmpegHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)

Expand Down
2 changes: 1 addition & 1 deletion server/utils/fileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit dbe1038

Please sign in to comment.