forked from HaveAGitGat/Tdarr_Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Tdarr_Plugin_Greg_MP3_FFMPEG_CPU test
- Loading branch information
1 parent
7eaec0b
commit 9215d34
Showing
4 changed files
with
707 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |
Oops, something went wrong.