mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 01:36:08 -07:00
Add Tdarr_Plugin_Greg_MP3_FFMPEG_CPU test
This commit is contained in:
parent
7eaec0beb8
commit
9215d34bca
4 changed files with 707 additions and 1 deletions
59
tests/Community/Tdarr_Plugin_Greg_MP3_FFMPEG_CPU.js
Normal file
59
tests/Community/Tdarr_Plugin_Greg_MP3_FFMPEG_CPU.js
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/* 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',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
run(tests);
|
||||
Loading…
Add table
Add a link
Reference in a new issue