mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Fix plugin check errors
This commit is contained in:
parent
62ef9e7ad8
commit
d25d7c86d0
2 changed files with 4 additions and 6 deletions
|
|
@ -1,5 +1,3 @@
|
|||
const { strHasValue } = require('../methods/utils');
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_00td_filter_by_file_property',
|
||||
Stage: 'Pre-processing',
|
||||
|
|
@ -36,7 +34,7 @@ const details = () => ({
|
|||
{
|
||||
name: 'exactMatch',
|
||||
type: 'boolean',
|
||||
defaultValue: 'true',
|
||||
defaultValue: true,
|
||||
inputUI: {
|
||||
type: 'dropdown',
|
||||
options: [
|
||||
|
|
@ -67,6 +65,7 @@ const details = () => ({
|
|||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
const { strHasValue } = require('../methods/utils');
|
||||
const lib = require('../methods/lib')();
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
const { strHasValue } = require('../methods/utils');
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_00td_filter_by_stream_tag',
|
||||
Stage: 'Pre-processing',
|
||||
|
|
@ -36,7 +34,7 @@ const details = () => ({
|
|||
{
|
||||
name: 'exactMatch',
|
||||
type: 'boolean',
|
||||
defaultValue: 'true',
|
||||
defaultValue: true,
|
||||
inputUI: {
|
||||
type: 'dropdown',
|
||||
options: [
|
||||
|
|
@ -67,6 +65,7 @@ const details = () => ({
|
|||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
const { strHasValue } = require('../methods/utils');
|
||||
const lib = require('../methods/lib')();
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue