mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Update:Podcast episode downloader only takes audio streams #2858
This commit is contained in:
parent
f0caf1a933
commit
dbe10382fd
@ -104,7 +104,8 @@ module.exports.downloadPodcastEpisode = (podcastEpisodeDownload) => {
|
|||||||
const ffmpeg = Ffmpeg(response.data)
|
const ffmpeg = Ffmpeg(response.data)
|
||||||
ffmpeg.addOption('-loglevel debug') // Debug logs printed on error
|
ffmpeg.addOption('-loglevel debug') // Debug logs printed on error
|
||||||
ffmpeg.outputOptions(
|
ffmpeg.outputOptions(
|
||||||
'-c', 'copy',
|
'-c:a', 'copy',
|
||||||
|
'-map', '0:a',
|
||||||
'-metadata', 'podcast=1'
|
'-metadata', 'podcast=1'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ async function getFileTimestampsWithIno(path) {
|
|||||||
ino: String(stat.ino)
|
ino: String(stat.ino)
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
Logger.error('[fileUtils] Failed to getFileTimestampsWithIno', err)
|
Logger.error(`[fileUtils] Failed to getFileTimestampsWithIno for path "${path}"`, err)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user