You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
942 B
43 lines
942 B
/* eslint max-len: 0 */
|
|
const _ = require('lodash');
|
|
const run = require('../helpers/run');
|
|
|
|
const tests = [
|
|
{
|
|
input: {
|
|
file: _.cloneDeep(require('../sampleData/media/sampleH264_1.json')),
|
|
librarySettings: {},
|
|
inputs: {},
|
|
otherArguments: {},
|
|
},
|
|
output: {
|
|
processFile: false,
|
|
preset: '',
|
|
container: '.mp4',
|
|
handBrakeMode: false,
|
|
FFmpegMode: true,
|
|
reQueueAfter: false,
|
|
infoLog: '☑File has no subs \n☑File meets conditions! \n',
|
|
},
|
|
},
|
|
{
|
|
input: {
|
|
file: _.cloneDeep(require('../sampleData/media/sampleH264_2.json')),
|
|
librarySettings: {},
|
|
inputs: {},
|
|
otherArguments: {},
|
|
},
|
|
output: {
|
|
processFile: true,
|
|
preset: ',-sn -map 0 -c copy',
|
|
container: '.mkv',
|
|
handBrakeMode: false,
|
|
FFmpegMode: true,
|
|
reQueueAfter: true,
|
|
infoLog: '☒File has subs \n',
|
|
},
|
|
},
|
|
];
|
|
|
|
void run(tests);
|