mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 01:10:27 -07:00
Add Tdarr_Plugin_a9hf_New_file_duration_check test
This commit is contained in:
parent
c74b7678b4
commit
ad646d04b5
4 changed files with 73 additions and 5 deletions
|
|
@ -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`;
|
||||
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue