mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
fixed 7.1 bug
Since FFMPEG does not support converting 7.1 to AC3 the plugin was previously downmixing 7.1 audio to 5.1. Since I'm also running Tdarr_Plugin_MC93_Migz5ConvertAudio to downmix tracks anyway, this caused me to end up with duplicate 5.1 tracks in all of my videos. This update does not fix the fundamental issue of ffmpeg not converting 7.1 to AC3, instead it just makes the plugin ignore 7.1 streams entirely. Combined with Tdarr_Plugin_MC93_Migz5ConvertAudio, this should allow users to have stereo and 5.1 audio streams encoded in AC3 while keeping the original 7.1 stream if it exist.
This commit is contained in:
parent
69afe2c442
commit
804804b345
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ function plugin(file) {
|
|||
|
||||
try {
|
||||
if (
|
||||
file.ffProbeData.streams[i].channels >= 6 &&
|
||||
file.ffProbeData.streams[i].channels == 6 &&
|
||||
file.ffProbeData.streams[i].codec_name !== "ac3" &&
|
||||
file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio"
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue