Skip to content

Commit

Permalink
Add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed Nov 27, 2023
1 parent 8c8ef27 commit ae0ff14
Show file tree
Hide file tree
Showing 39 changed files with 79 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const details = ():IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Codec',
name: 'codec',
type: 'string',
defaultValue: 'aac',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Channel Count',
name: 'channelCount',
type: 'number',
defaultValue: '2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'i',
name: 'i',
type: 'string',
defaultValue: '-23.0',
Expand All @@ -31,6 +32,7 @@ const details = (): IpluginDetails => ({
defaults to -23.0`,
},
{
label: 'lra',
name: 'lra',
type: 'string',
defaultValue: '7.0',
Expand All @@ -41,6 +43,7 @@ const details = (): IpluginDetails => ({
`,
},
{
label: 'tp',
name: 'tp',
type: 'string',
defaultValue: '-2.0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Plugin Source ID',
name: 'pluginSourceId',
type: 'string',
defaultValue: 'Community:Tdarr_Plugin_00td_filter_by_codec',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Plugin Source ID',
name: 'pluginSourceId',
type: 'string',
defaultValue: 'Community:Tdarr_Plugin_MC93_Migz1FFMPEG',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const details = () :IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Input Arguments',
name: 'inputArguments',
type: 'string',
defaultValue: '',
Expand All @@ -29,6 +30,7 @@ const details = () :IpluginDetails => ({
},

{
label: 'Output Arguments',
name: 'outputArguments',
type: 'string',
defaultValue: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Audio Encoder',
name: 'audioEncoder',
type: 'string',
defaultValue: 'aac',
Expand All @@ -41,6 +42,7 @@ const details = (): IpluginDetails => ({
'Enter the desired audio codec',
},
{
label: 'Language',
name: 'language',
type: 'string',
defaultValue: 'en',
Expand All @@ -52,6 +54,7 @@ const details = (): IpluginDetails => ({
+ ' Case-insensitive. One tag only',
},
{
label: 'Channels',
name: 'channels',
type: 'number',
defaultValue: '2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Property To Check',
name: 'propertyToCheck',
type: 'string',
defaultValue: 'codec_name',
Expand All @@ -37,6 +38,7 @@ const details = (): IpluginDetails => ({
`,
},
{
label: 'Values To Remove',
name: 'valuesToRemove',
type: 'string',
defaultValue: 'aac',
Expand All @@ -52,6 +54,7 @@ const details = (): IpluginDetails => ({
`,
},
{
label: 'Condition',
name: 'condition',
type: 'string',
defaultValue: 'includes',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Process Order',
name: 'processOrder',
type: 'string',
defaultValue: 'codecs,channels,languages,streamTypes',
Expand All @@ -38,6 +39,7 @@ The default order is suitable for most people.
`,
},
{
label: 'Languages',
name: 'languages',
type: 'string',
defaultValue: '',
Expand All @@ -51,6 +53,7 @@ The default order is suitable for most people.
`,
},
{
label: 'Channels',
name: 'channels',
type: 'string',
defaultValue: '7.1,5.1,2,1',
Expand All @@ -64,6 +67,7 @@ The default order is suitable for most people.
7.1,5.1,2,1`,
},
{
label: 'Codecs',
name: 'codecs',
type: 'string',
defaultValue: '',
Expand All @@ -77,6 +81,7 @@ The default order is suitable for most people.
aac,ac3`,
},
{
label: 'Stream Types',
name: 'streamTypes',
type: 'string',
defaultValue: 'video,audio,subtitle',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Container',
name: 'container',
type: 'string',
defaultValue: 'mkv',
Expand All @@ -35,6 +36,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify the container to use',
},
{
label: 'Force Conform',
name: 'forceConform',
type: 'boolean',
defaultValue: 'false',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = () :IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Framerate',
name: 'framerate',
type: 'number',
defaultValue: '30',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const details = () :IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Target Resolution',
name: 'targetResolution',
type: 'string',
defaultValue: '1080p',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = () :IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Bitrate',
name: 'bitrate',
type: 'string',
defaultValue: '5000',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const details = (): IpluginDetails => ({
icon: '',
inputs: [
{
label: 'Output Codec',
name: 'outputCodec',
type: 'string',
defaultValue: 'hevc',
Expand All @@ -38,6 +39,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify codec of the output file',
},
{
label: 'FFmpeg Preset',
name: 'ffmpegPreset',
type: 'string',
defaultValue: 'fast',
Expand All @@ -58,6 +60,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify ffmpeg preset',
},
{
label: 'FFmpeg Quality',
name: 'ffmpegQuality',
type: 'number',
defaultValue: '25',
Expand All @@ -67,6 +70,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify ffmpeg quality',
},
{
label: 'Hardware Encoding',
name: 'hardwareEncoding',
type: 'boolean',
defaultValue: 'true',
Expand All @@ -80,6 +84,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify whether to use hardware encoding if available',
},
{
label: 'Hardware Type',
name: 'hardwareType',
type: 'string',
defaultValue: 'auto',
Expand All @@ -96,6 +101,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify codec of the output file',
},
{
label: 'Hardware Decoding',
name: 'hardwareDecoding',
type: 'boolean',
defaultValue: 'true',
Expand All @@ -109,6 +115,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify whether to use hardware decoding if available',
},
{
label: 'Force Encoding',
name: 'forceEncoding',
type: 'boolean',
defaultValue: 'true',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'File To Check',
name: 'fileToCheck',
type: 'string',
// eslint-disable-next-line no-template-curly-in-string
Expand All @@ -32,6 +33,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify file to check using templating e.g. ${fileName}_720p.${container}',
},
{
label: 'Directory',
name: 'directory',
type: 'string',
defaultValue: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Extensions',
name: 'extensions',
type: 'string',
defaultValue: 'mkv,mp4',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Terms',
name: 'terms',
type: 'string',
// eslint-disable-next-line no-template-curly-in-string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Unit',
name: 'unit',
type: 'string',
defaultValue: 'GB',
Expand All @@ -34,6 +35,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify the unit to use',
},
{
label: 'Greater Than',
name: 'greaterThan',
type: 'number',
defaultValue: '0',
Expand All @@ -43,6 +45,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify lower bound',
},
{
label: 'Less Than',
name: 'lessThan',
type: 'number',
defaultValue: '10000',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Greater Than',
name: 'greaterThan',
type: 'number',
defaultValue: '99.5',
Expand All @@ -31,6 +32,7 @@ const details = (): IpluginDetails => ({
+ 'Default value is 99.5% so new file duration must be at least 40% of original file duration.',
},
{
label: 'Less Than',
name: 'lessThan',
type: 'number',
defaultValue: '100.5',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Greater Than',
name: 'greaterThan',
type: 'number',
defaultValue: '40',
Expand All @@ -30,6 +31,7 @@ const details = (): IpluginDetails => ({
+ 'Default value is 40% so new file size must be at least 40% of original file size.',
},
{
label: 'Less Than',
name: 'lessThan',
type: 'number',
defaultValue: '110',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: 'faQuestion',
inputs: [
{
label: 'Greater Than',
name: 'greaterThan',
type: 'number',
defaultValue: '40',
Expand All @@ -30,6 +31,7 @@ const details = (): IpluginDetails => ({
+ 'Default value is 40% so new file size must be at least 40% of original file size.',
},
{
label: 'Less Than',
name: 'lessThan',
type: 'number',
defaultValue: '110',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const details = (): IpluginDetails => ({
icon: 'faArrowRight',
inputs: [
{
label: 'Output Directory',
name: 'outputDirectory',
type: 'string',
defaultValue: '',
Expand All @@ -32,6 +33,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify ouput directory',
},
{
label: 'Keep Relative Path',
name: 'keepRelativePath',
type: 'boolean',
defaultValue: 'false',
Expand All @@ -45,6 +47,7 @@ const details = (): IpluginDetails => ({
tooltip: 'Specify whether to keep the relative path',
},
{
label: 'Make Working File',
name: 'makeWorkingFile',
type: 'boolean',
defaultValue: 'false',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
icon: 'faTrash',
inputs: [
{
label: 'File To Delete',
name: 'fileToDelete',
type: 'string',
defaultValue: 'workingFile',
Expand Down
Loading

0 comments on commit ae0ff14

Please sign in to comment.