diff --git a/Community/Tdarr_Plugin_MC93_Migz5ConvertAudio.js b/Community/Tdarr_Plugin_MC93_Migz5ConvertAudio.js index d9bbcab..f3cfd11 100644 --- a/Community/Tdarr_Plugin_MC93_Migz5ConvertAudio.js +++ b/Community/Tdarr_Plugin_MC93_Migz5ConvertAudio.js @@ -6,7 +6,7 @@ const details = () => ({ Type: 'Audio', Operation: 'Transcode', Description: 'This plugin can convert any 2.0 audio track/s to AAC and can create downmixed audio tracks. \n\n', - Version: '2.3', + Version: '2.4', Tags: 'pre-processing,ffmpeg,audio only,configurable', Inputs: [{ name: 'aac_stereo', @@ -114,7 +114,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { && 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 6 channel from 8 channel. \n'; convert = true; } @@ -124,7 +124,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { && has2Channel === false && file.ffProbeData.streams[i].channels === 6 ) { - ffmpegCommandInsert += `-map 0:${i} -c:a:${audioIdx} aac -ac 2 -metadata:s:a:${audioIdx} title="2.0 " `; + ffmpegCommandInsert += `-map 0:${i} -c:a:${audioIdx} aac -ac 2 -metadata:s:a:${audioIdx} title="2.0" `; response.infoLog += '☒Audio track is 6 channel, no 2 channel exists. Creating 2 channel from 6 channel. \n'; convert = true; }