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
This commit is contained in:
parent
ad7ec9d2b9
commit
dfe9c5a527
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user