mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-08 23:18:16 -07:00
Fix spacing
This commit is contained in:
parent
6545f70132
commit
280671fa22
1 changed files with 5 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ module.exports = function transcodeAddAudioStream(
|
|||
let extraArgs = "";
|
||||
|
||||
if (audioEncoder === 'truehd') {
|
||||
extraArgs = "-strict -2";
|
||||
extraArgs = " -strict -2";
|
||||
}
|
||||
|
||||
//Step 1: Check if the file already has the required stream codec/langtag/channel count
|
||||
|
|
@ -128,7 +128,7 @@ module.exports = function transcodeAddAudioStream(
|
|||
};
|
||||
} else {
|
||||
return {
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${channelCount} -max_muxing_queue_size 9999 ${extraArgs}`,
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${channelCount} -max_muxing_queue_size 9999${extraArgs}`,
|
||||
processFile: true,
|
||||
note: `The required channel count ${channelCount} is lower than the highest available channel count (${highestChannelCount.channels}). Adding! \n`,
|
||||
};
|
||||
|
|
@ -161,7 +161,7 @@ module.exports = function transcodeAddAudioStream(
|
|||
};
|
||||
} else {
|
||||
return {
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${highestChannelCount.channels} -max_muxing_queue_size 9999 ${extraArgs}`,
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${highestChannelCount.channels} -max_muxing_queue_size 9999${extraArgs}`,
|
||||
processFile: true,
|
||||
note: `The required channel count (${channelCount}) is higher than the highest channel available in specified lang tag (${highestChannelCount.channels}). Adding lower channel track. \n`,
|
||||
};
|
||||
|
|
@ -235,7 +235,7 @@ module.exports = function transcodeAddAudioStream(
|
|||
};
|
||||
} else {
|
||||
return {
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${channelCount} -max_muxing_queue_size 9999 ${extraArgs}`,
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${channelCount} -max_muxing_queue_size 9999${extraArgs}`,
|
||||
processFile: true,
|
||||
note: `The required channel count ${channelCount} is lower than the highest available channel count (${highestChannelCount.channels}). Adding! \n`,
|
||||
};
|
||||
|
|
@ -266,7 +266,7 @@ module.exports = function transcodeAddAudioStream(
|
|||
};
|
||||
} else {
|
||||
return {
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${highestChannelCount.channels} -max_muxing_queue_size 9999 ${extraArgs}`,
|
||||
preset: `,-map 0:v -map 0:${highestChannelCount.index} -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ${audioEncoder} -ac ${highestChannelCount.channels} -max_muxing_queue_size 9999${extraArgs}`,
|
||||
processFile: true,
|
||||
note: `The required channel count (${channelCount}) is higher than the highest channel available in specified lang tag (${highestChannelCount.channels}). Adding lower channel track. \n`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue