|
|
|
@ -23,36 +23,30 @@ const details = (): IpluginDetails => ({
|
|
|
|
label: 'Terms',
|
|
|
|
label: 'Terms',
|
|
|
|
name: 'terms',
|
|
|
|
name: 'terms',
|
|
|
|
type: 'string',
|
|
|
|
type: 'string',
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|
|
|
|
defaultValue: '_720p,_1080p',
|
|
|
|
defaultValue: '_720p,_1080p',
|
|
|
|
inputUI: {
|
|
|
|
inputUI: {
|
|
|
|
type: 'text',
|
|
|
|
type: 'text',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|
|
|
|
tooltip: 'Specify terms to check for in file name using comma seperated list e.g. _720p,_1080p',
|
|
|
|
tooltip: 'Specify terms to check for in file name using comma seperated list e.g. _720p,_1080p',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: 'Pattern (regular expression)',
|
|
|
|
label: 'Pattern (regular expression)',
|
|
|
|
name: 'pattern',
|
|
|
|
name: 'pattern',
|
|
|
|
type: 'string',
|
|
|
|
type: 'string',
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|
|
|
|
defaultValue: '',
|
|
|
|
defaultValue: '',
|
|
|
|
inputUI: {
|
|
|
|
inputUI: {
|
|
|
|
type: 'text',
|
|
|
|
type: 'text',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|
|
|
|
tooltip: 'Specify the pattern (regex) to check for in file name e.g. ^Pattern.*mkv$',
|
|
|
|
tooltip: 'Specify the pattern (regex) to check for in file name e.g. ^Pattern.*mkv$',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label: 'Include file directory in check',
|
|
|
|
label: 'Include file directory in check',
|
|
|
|
name: 'includeFileDirectory',
|
|
|
|
name: 'includeFileDirectory',
|
|
|
|
type: 'boolean',
|
|
|
|
type: 'boolean',
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|
|
|
|
defaultValue: 'false',
|
|
|
|
defaultValue: 'false',
|
|
|
|
inputUI: {
|
|
|
|
inputUI: {
|
|
|
|
type: 'switch',
|
|
|
|
type: 'switch',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// eslint-disable-next-line no-template-curly-in-string
|
|
|
|
|
|
|
|
tooltip: 'Should the terms and patterns be evaluated against the file directory e.g. false, true',
|
|
|
|
tooltip: 'Should the terms and patterns be evaluated against the file directory e.g. false, true',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|