Add Tdarr_Plugin_a9hf_New_file_duration_check test

This commit is contained in:
HaveAGitGat 2022-05-23 07:17:18 +01:00
parent c74b7678b4
commit ad646d04b5
4 changed files with 73 additions and 5 deletions

View file

@ -52,6 +52,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
const ratio = parseInt((newSize / oldSize) * 100, 10);
console.log(newSize, oldSize);
const sizeText = `New file has size ${newSize.toFixed(3)} MB which is ${ratio}% `
+ `of original file size: ${oldSize.toFixed(3)} MB`;

View file

@ -1,6 +1,5 @@
// eslint-disable-next-line import/no-unresolved
// tdarrSkipTest
const details = () => ({
id: 'Tdarr_Plugin_a9hf_New_file_duration_check',
Stage: 'Pre-processing',