Add Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac) test

This commit is contained in:
HaveAGitGat 2022-05-22 13:52:01 +01:00
parent 50beae72e4
commit ea5b34c849
3 changed files with 109 additions and 2 deletions

View file

@ -4,7 +4,6 @@
/* eslint no-bitwise: 0 */
/* eslint no-mixed-operators: 0 */
// tdarrSkipTest
const details = () => {
return {
id: 'Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac)',
@ -204,6 +203,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
if (inputs.bitrate_cutoff !== '') {
// Checks if currentBitrate is below inputs.bitrate_cutoff
// If so then don't convert video.
console.log(currentBitrate)
if (currentBitrate <= inputs.bitrate_cutoff) {
convertVideo = false;
}