mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -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 = () => ({
|
const details = () => ({
|
||||||
id: 'Tdarr_Plugin_00td_filter_by_file_property',
|
id: 'Tdarr_Plugin_00td_filter_by_file_property',
|
||||||
Stage: 'Pre-processing',
|
Stage: 'Pre-processing',
|
||||||
|
|
@ -36,7 +34,7 @@ const details = () => ({
|
||||||
{
|
{
|
||||||
name: 'exactMatch',
|
name: 'exactMatch',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
defaultValue: 'true',
|
defaultValue: true,
|
||||||
inputUI: {
|
inputUI: {
|
||||||
type: 'dropdown',
|
type: 'dropdown',
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -67,6 +65,7 @@ const details = () => ({
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||||
|
const { strHasValue } = require('../methods/utils');
|
||||||
const lib = require('../methods/lib')();
|
const lib = require('../methods/lib')();
|
||||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||||
inputs = lib.loadDefaultValues(inputs, details);
|
inputs = lib.loadDefaultValues(inputs, details);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
const { strHasValue } = require('../methods/utils');
|
|
||||||
|
|
||||||
const details = () => ({
|
const details = () => ({
|
||||||
id: 'Tdarr_Plugin_00td_filter_by_stream_tag',
|
id: 'Tdarr_Plugin_00td_filter_by_stream_tag',
|
||||||
Stage: 'Pre-processing',
|
Stage: 'Pre-processing',
|
||||||
|
|
@ -36,7 +34,7 @@ const details = () => ({
|
||||||
{
|
{
|
||||||
name: 'exactMatch',
|
name: 'exactMatch',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
defaultValue: 'true',
|
defaultValue: true,
|
||||||
inputUI: {
|
inputUI: {
|
||||||
type: 'dropdown',
|
type: 'dropdown',
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -67,6 +65,7 @@ const details = () => ({
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||||
|
const { strHasValue } = require('../methods/utils');
|
||||||
const lib = require('../methods/lib')();
|
const lib = require('../methods/lib')();
|
||||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||||
inputs = lib.loadDefaultValues(inputs, details);
|
inputs = lib.loadDefaultValues(inputs, details);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue