mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-10 07:50:29 -07:00
Reuse newContainer var
This commit is contained in:
parent
0842b351d5
commit
202f255f4f
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ var plugin = function (args) {
|
|||
args.inputs = lib.loadDefaultValues(args.inputs, details);
|
||||
var newContainer = String(args.inputs.container);
|
||||
var forceConform = args.inputs.forceConform;
|
||||
if ((0, fileUtils_1.getContainer)(args.inputFileObj._id) !== args.inputs.container) {
|
||||
if ((0, fileUtils_1.getContainer)(args.inputFileObj._id) !== newContainer) {
|
||||
args.variables.ffmpegCommand.container = newContainer;
|
||||
args.variables.ffmpegCommand.shouldProcess = true;
|
||||
if (forceConform === true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue