mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 10:15:54 -07:00
Update transcodeKeepOneAudioStream.js
This commit is contained in:
parent
c0a62ac3c8
commit
86835f6682
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ module.exports = function transcodeKeepOneAudioStream(file, audioEncoder, langTa
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" && i !== audioStreamToKeep) {
|
if (file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" && i !== audioStreamToKeep) {
|
||||||
ffmpegCommandInsert += ` -map -0:a:${i}`
|
ffmpegCommandInsert += ` -map -0:${i}`
|
||||||
|
|
||||||
}
|
}
|
||||||
} catch (err) { }
|
} catch (err) { }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue