Update:Podcast episode downloader only takes audio streams #2858

This commit is contained in:
advplyr 2024-04-17 17:09:36 -05:00
parent f0caf1a933
commit dbe10382fd
2 changed files with 3 additions and 2 deletions

View file

@ -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'
)