mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 09:20:27 -07:00
Add labels
This commit is contained in:
parent
8c8ef277df
commit
ae0ff14bf0
39 changed files with 79 additions and 1 deletions
|
|
@ -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
|
||||
|
|
@ -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: '',
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faQuestion',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Extensions',
|
||||
name: 'extensions',
|
||||
type: 'string',
|
||||
defaultValue: 'mkv,mp4',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faQuestion',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Unit',
|
||||
name: 'unit',
|
||||
type: 'string',
|
||||
defaultValue: 'GB',
|
||||
|
|
@ -34,6 +35,7 @@ const details = (): IpluginDetails => ({
|
|||
tooltip: 'Specify the unit to use',
|
||||
},
|
||||
{
|
||||
label: 'Greater Than',
|
||||
name: 'greaterThan',
|
||||
type: 'number',
|
||||
defaultValue: '0',
|
||||
|
|
@ -43,6 +45,7 @@ const details = (): IpluginDetails => ({
|
|||
tooltip: 'Specify lower bound',
|
||||
},
|
||||
{
|
||||
label: 'Less Than',
|
||||
name: 'lessThan',
|
||||
type: 'number',
|
||||
defaultValue: '10000',
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faQuestion',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Greater Than',
|
||||
name: 'greaterThan',
|
||||
type: 'number',
|
||||
defaultValue: '99.5',
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faQuestion',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Greater Than',
|
||||
name: 'greaterThan',
|
||||
type: 'number',
|
||||
defaultValue: '40',
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faQuestion',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Greater Than',
|
||||
name: 'greaterThan',
|
||||
type: 'number',
|
||||
defaultValue: '40',
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faArrowRight',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Output Directory',
|
||||
name: 'outputDirectory',
|
||||
type: 'string',
|
||||
defaultValue: '',
|
||||
|
|
@ -32,6 +33,7 @@ const details = (): IpluginDetails => ({
|
|||
tooltip: 'Specify ouput directory',
|
||||
},
|
||||
{
|
||||
label: 'Keep Relative Path',
|
||||
name: 'keepRelativePath',
|
||||
type: 'boolean',
|
||||
defaultValue: 'false',
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: 'faTrash',
|
||||
inputs: [
|
||||
{
|
||||
label: 'File To Delete',
|
||||
name: 'fileToDelete',
|
||||
type: 'string',
|
||||
defaultValue: 'workingFile',
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ const details = ():IpluginDetails => ({
|
|||
icon: 'faArrowRight',
|
||||
inputs: [
|
||||
{
|
||||
label: 'Output Directory',
|
||||
name: 'outputDirectory',
|
||||
type: 'string',
|
||||
defaultValue: '',
|
||||
|
|
@ -34,6 +35,7 @@ const details = ():IpluginDetails => ({
|
|||
tooltip: 'Specify ouput directory',
|
||||
},
|
||||
{
|
||||
label: 'Keep Relative Path',
|
||||
name: 'keepRelativePath',
|
||||
type: 'boolean',
|
||||
defaultValue: 'false',
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const details = (): IpluginDetails => ({
|
|||
icon: '',
|
||||
inputs: [
|
||||
{
|
||||
label: 'File Rename',
|
||||
name: 'fileRename',
|
||||
type: 'string',
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue