mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 02:05:54 -07:00
Throw error if unknown NORMALISATIONSTAGE
This commit is contained in:
parent
28685b9023
commit
089d7375eb
1 changed files with 1 additions and 2 deletions
|
|
@ -220,8 +220,7 @@ const plugin = async (file, librarySettings, inputs, otherArguments) => {
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
// what is this tag?
|
// what is this tag?
|
||||||
response.infoLog += `Unknown normalisation stage tag: \n${probeData.format.tags.NORMALISATIONSTAGE}`;
|
throw new Error(`Unknown normalisation stage tag: \n${probeData.format.tags.NORMALISATIONSTAGE}`);
|
||||||
return response;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports.details = details;
|
module.exports.details = details;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue