mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 11:16:26 -07:00
Merge pull request #55 from Aerion/fix-b39x-the1poet-surround-sound-to-ac3-index
Fix #54
This commit is contained in:
commit
1dc78156ac
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