From af192f8435d9b277d77e1346c8de73d0f334afc6 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:38:12 +0000 Subject: [PATCH] Remove for now as can use Tdarr_Plugin_00td_action_add_audio_stream_codec --- .../1.0.0/index.js | 38 ---------------- .../1.0.0/index.ts | 45 ------------------- 2 files changed, 83 deletions(-) delete mode 100644 FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js delete mode 100644 FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts diff --git a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js deleted file mode 100644 index 11a40664f..000000000 --- a/FlowPlugins/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.plugin = exports.details = void 0; -/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */ -var details = function () { return ({ - name: 'Ensure Audio Stream', - description: 'Ensure that the file has an audio stream with set codec and channel count', - style: { - borderColor: '#6efefc', - opacity: 0.5, - }, - tags: 'video', - isStartPlugin: false, - pType: '', - requiresVersion: '2.11.01', - sidebarPosition: -1, - icon: '', - inputs: [], - outputs: [ - { - number: 1, - tooltip: 'Continue to next plugin', - }, - ], -}); }; -exports.details = details; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -var plugin = function (args) { - var lib = require('../../../../../methods/lib')(); - // eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign - args.inputs = lib.loadDefaultValues(args.inputs, details); - return { - outputFileObj: args.inputFileObj, - outputNumber: 1, - variables: args.variables, - }; -}; -exports.plugin = plugin; diff --git a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts deleted file mode 100644 index c937e0ab4..000000000 --- a/FlowPluginsTs/CommunityFlowPlugins/ffmpegCommand/ffmpegCommandEnsureAudioStream/1.0.0/index.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { - IpluginDetails, - IpluginInputArgs, - IpluginOutputArgs, -} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces'; - -/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */ -const details = () :IpluginDetails => ({ - name: 'Ensure Audio Stream', - description: 'Ensure that the file has an audio stream with set codec and channel count', - style: { - borderColor: '#6efefc', - opacity: 0.5, - }, - tags: 'video', - isStartPlugin: false, - pType: '', - requiresVersion: '2.11.01', - sidebarPosition: -1, - icon: '', - inputs: [], - outputs: [ - { - number: 1, - tooltip: 'Continue to next plugin', - }, - ], -}); - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const plugin = (args:IpluginInputArgs):IpluginOutputArgs => { - const lib = require('../../../../../methods/lib')(); - // eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign - args.inputs = lib.loadDefaultValues(args.inputs, details); - - return { - outputFileObj: args.inputFileObj, - outputNumber: 1, - variables: args.variables, - }; -}; -export { - details, - plugin, -};