mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 17:30:27 -07:00
Convert non=string to string for comparsion, add test
This commit is contained in:
parent
5c76c32db6
commit
95c61a0eae
2 changed files with 22 additions and 1 deletions
|
|
@ -196,6 +196,27 @@ const tests = [
|
|||
},
|
||||
},
|
||||
|
||||
{
|
||||
input: {
|
||||
file: _.cloneDeep(require('../sampleData/media/sampleH264_2.json')),
|
||||
librarySettings: {},
|
||||
inputs: {
|
||||
propertyToCheck: 'level',
|
||||
valuesToRemove: '41',
|
||||
},
|
||||
otherArguments: {},
|
||||
},
|
||||
output: {
|
||||
processFile: true,
|
||||
preset: ', -map 0 -c copy -max_muxing_queue_size 9999 -map -0:0 ',
|
||||
container: '.mkv',
|
||||
handBrakeMode: false,
|
||||
FFmpegMode: true,
|
||||
reQueueAfter: false,
|
||||
infoLog: ' Removing stream 0 which is has level of 41 \n'
|
||||
+ ' Files has streams which need to be removed, processing \n',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
run(tests);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue