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.
Tdarr_Plugins/tests/Community/Tdarr_Plugin_Greg_MP3_FFMPE...

60 lines
1.5 KiB

/* 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: {
preset: ', -map_metadata 0 -id3v2_version 3 -b:a 320k',
container: '.mp3',
handbrakeMode: false,
ffmpegMode: true,
processFile: false,
reQueueAfter: true,
infoLog: 'undefined☒Codec excluded \n ☑Codec not excluded \n',
},
},
{
input: {
file: _.cloneDeep(require('../sampleData/media/sampleAAC_1.json')),
librarySettings: {},
inputs: {},
otherArguments: {},
},
output: {
preset: ', -map_metadata 0 -id3v2_version 3 -b:a 320k',
container: '.mp3',
handbrakeMode: false,
ffmpegMode: true,
processFile: false,
reQueueAfter: true,
infoLog: 'undefined☒Codec excluded \n ☑Codec not excluded \n',
},
},
{
input: {
file: _.cloneDeep(require('../sampleData/media/sampleMP3_1.json')),
librarySettings: {},
inputs: {},
otherArguments: {},
},
output: {
preset: ', -map_metadata 0 -id3v2_version 3 -b:a 320k',
container: '.mp3',
handbrakeMode: false,
ffmpegMode: true,
processFile: false,
reQueueAfter: true,
infoLog: 'undefined☒Codec excluded \n ☒Codec excluded \n',
},
},
];
void run(tests);