mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
revertChanges
This commit is contained in:
parent
2ba3df1977
commit
9e04b43e75
88 changed files with 612 additions and 602 deletions
|
|
@ -1,4 +1,5 @@
|
|||
const lib = require('../methods/library');
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
const loadDefaultValues = require('../methods/loadDefaultValues');
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_a9he_New_file_size_check',
|
||||
|
|
@ -14,7 +15,7 @@ const details = () => ({
|
|||
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
inputs = loadDefaultValues(inputs, details);
|
||||
// Must return this object at some point in the function else plugin will fail.
|
||||
const response = {
|
||||
processFile: false,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
const lib = require('../methods/library');
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
const loadDefaultValues = require('../methods/loadDefaultValues');
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_f001_Filter_Example',
|
||||
|
|
@ -15,7 +16,7 @@ const details = () => ({
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
inputs = loadDefaultValues(inputs, details);
|
||||
// Must return this object at some point in the function else plugin will fail.
|
||||
|
||||
const response = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
const lib = require('../methods/library');
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
const loadDefaultValues = require('../methods/loadDefaultValues');
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_f002_Filter_Example',
|
||||
|
|
@ -15,7 +16,7 @@ const details = () => ({
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
inputs = loadDefaultValues(inputs, details);
|
||||
const response = {
|
||||
processFile: true,
|
||||
infoLog: '',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
/* eslint import/no-extraneous-dependencies: 0 */ // --> OFF
|
||||
/* eslint no-console: 0 */ // --> OFF
|
||||
|
||||
const lib = require('../methods/library');
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
const loadDefaultValues = require('../methods/loadDefaultValues');
|
||||
|
||||
// List any npm dependencies which the plugin needs, they will be auto installed when the plugin runs:
|
||||
module.exports.dependencies = [
|
||||
|
|
@ -60,7 +61,7 @@ const details = () => ({
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
inputs = loadDefaultValues(inputs, details);
|
||||
|
||||
// Only 'require' dependencies within this function or other functions. Do not require in the top scope.
|
||||
const importFresh = require('import-fresh');
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
/* eslint import/no-extraneous-dependencies: 0 */ // --> OFF
|
||||
/* eslint no-console: 0 */ // --> OFF
|
||||
|
||||
const lib = require('../methods/library');
|
||||
const loadDefaultValues = require('../methods/loadDefaultValues');
|
||||
// List any npm dependencies which the plugin needs, they will be auto installed when the plugin runs:
|
||||
module.exports.dependencies = [
|
||||
'import-fresh',
|
||||
|
|
@ -72,7 +72,7 @@ const details = () => ({
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
inputs = loadDefaultValues(inputs, details);
|
||||
// Only 'require' dependencies within this function or other functions. Do not require in the top scope.
|
||||
const importFresh = require('import-fresh');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue