From dfe9c5a5270fdc1ceb4bbd2e43acb1190f4ee7ed Mon Sep 17 00:00:00 2001 From: Jay Boehm Date: Mon, 15 Jun 2020 18:13:38 -0400 Subject: [PATCH] Update Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js if inputs isn't defined, then inputs.container causes a plugin error that is not caught by the if(inputs.container == "") this change checks the inputs first --- Community/Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js b/Community/Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js index df0f357..67d2efe 100644 --- a/Community/Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js +++ b/Community/Tdarr_Plugin_MC93_Migz1FFMPEG_CPU.js @@ -65,7 +65,7 @@ function plugin(file, librarySettings, inputs) { }; // Check if inputs.container has been configured. If it hasn't then exit plugin. - if (inputs.container == "") { + if (!inputs || inputs.container == "") { response.infoLog += "☒Container has not been configured within plugin settings, please configure required options. Skipping this plugin. \n"; response.processFile = false;