mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 17:55:55 -07:00
Add external dependencies
This commit is contained in:
parent
e656cb0759
commit
13b0ec0221
3 changed files with 16 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
// eslint-disable-next-line import/no-unresolved
|
module.exports.dependencies = [
|
||||||
const request = require('request');
|
'request',
|
||||||
|
];
|
||||||
|
|
||||||
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
||||||
module.exports.details = function details() {
|
module.exports.details = function details() {
|
||||||
|
|
@ -47,6 +48,9 @@ module.exports.details = function details() {
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
||||||
|
// eslint-disable-next-line global-require,import/no-unresolved
|
||||||
|
const request = require('request');
|
||||||
|
|
||||||
// Set up required variables.
|
// Set up required variables.
|
||||||
const ADDRESS = inputs.autoscan_address;
|
const ADDRESS = inputs.autoscan_address;
|
||||||
const PORT = inputs.autoscan_port;
|
const PORT = inputs.autoscan_port;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
module.exports.dependencies = [
|
||||||
|
'fs-extra',
|
||||||
|
];
|
||||||
|
|
||||||
module.exports.details = function details() {
|
module.exports.details = function details() {
|
||||||
return {
|
return {
|
||||||
id: "Tdarr_Plugin_z18s_rename_files_based_on_codec",
|
id: "Tdarr_Plugin_z18s_rename_files_based_on_codec",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
module.exports.dependencies = [
|
||||||
|
'fs-extra',
|
||||||
|
];
|
||||||
|
|
||||||
module.exports.details = function details() {
|
module.exports.details = function details() {
|
||||||
return {
|
return {
|
||||||
id: "Tdarr_Plugin_z18t_rename_files_based_on_codec_and_resolution",
|
id: "Tdarr_Plugin_z18t_rename_files_based_on_codec_and_resolution",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue