Info log channel typo

make-only-subtitle-default
HaveAGitGat 6 years ago committed by GitHub
parent da12371012
commit 3e4b2c7126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,7 +84,7 @@ function plugin(file, librarySettings, inputs) {
if (inputs.downmix.toLowerCase() == "true") { if (inputs.downmix.toLowerCase() == "true") {
if (has8Channel == true && has6Channel == false && file.ffProbeData.streams[i].channels == "8") { if (has8Channel == true && has6Channel == false && file.ffProbeData.streams[i].channels == "8") {
ffmpegCommandInsert += `-map 0:${i} -c:a:${audioIdx} ac3 -ac 6 -metadata:s:a:${audioIdx} title="5.1 " ` ffmpegCommandInsert += `-map 0:${i} -c:a:${audioIdx} ac3 -ac 6 -metadata:s:a:${audioIdx} title="5.1 " `
response.infoLog += "☒Audio track is 8 channel, no 6 channel exists. Creating 2 channel from 6 channel. \n" response.infoLog += "☒Audio track is 8 channel, no 6 channel exists. Creating 2 channel from 8 channel. \n"
convert = true convert = true
} }
if (has6Channel == true && has2Channel == false && file.ffProbeData.streams[i].channels == "6") { if (has6Channel == true && has2Channel == false && file.ffProbeData.streams[i].channels == "6") {

Loading…
Cancel
Save