mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 02:05:54 -07:00
Use checkFfmpegCommandInit() in Execute plugin
This commit is contained in:
parent
69afa93e70
commit
b15ef9fb5f
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import {
|
||||||
} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces';
|
} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces';
|
||||||
import { CLI } from '../../../../FlowHelpers/1.0.0/cliUtils';
|
import { CLI } from '../../../../FlowHelpers/1.0.0/cliUtils';
|
||||||
import { getFileName, getPluginWorkDir } from '../../../../FlowHelpers/1.0.0/fileUtils';
|
import { getFileName, getPluginWorkDir } from '../../../../FlowHelpers/1.0.0/fileUtils';
|
||||||
|
import { checkFfmpegCommandInit } from '../../../../FlowHelpers/1.0.0/interfaces/flowUtils';
|
||||||
|
|
||||||
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
||||||
const details = (): IpluginDetails => ({
|
const details = (): IpluginDetails => ({
|
||||||
|
|
@ -68,6 +69,8 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign
|
||||||
args.inputs = lib.loadDefaultValues(args.inputs, details);
|
args.inputs = lib.loadDefaultValues(args.inputs, details);
|
||||||
|
|
||||||
|
checkFfmpegCommandInit(args);
|
||||||
|
|
||||||
const cliArgs: string[] = [];
|
const cliArgs: string[] = [];
|
||||||
|
|
||||||
cliArgs.push('-y');
|
cliArgs.push('-y');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue