mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 23:48:15 -07:00
Add Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac) test
This commit is contained in:
parent
50beae72e4
commit
ea5b34c849
3 changed files with 109 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue