mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 02:35:54 -07:00
Fix #54
This commit is contained in:
parent
c36b00213b
commit
ccd4c79228
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ function plugin(file) {
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ( file.ffProbeData.streams[1].channels >= 6 && file.ffProbeData.streams[i].codec_name !== 'ac3' && file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" ) {
|
if ( file.ffProbeData.streams[i].channels >= 6 && file.ffProbeData.streams[i].codec_name !== 'ac3' && file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" ) {
|
||||||
ffmpegCommandInsert += ` -c:a:${audioIdx} ac3 `
|
ffmpegCommandInsert += ` -c:a:${audioIdx} ac3 `
|
||||||
hasnonAC3SurroundTrack = true
|
hasnonAC3SurroundTrack = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue