mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 02:05:54 -07:00
Update lib (#227)
* Update library.js * update imports * update defaults
This commit is contained in:
parent
680916a6db
commit
2ba3df1977
87 changed files with 601 additions and 612 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/* eslint-disable */
|
||||
const exec = require("child_process").exec;
|
||||
const fs = require("fs");
|
||||
const loadDefaultValues = require('../methods/loadDefaultValues');
|
||||
const lib = require('../methods/library');
|
||||
|
||||
const details = () => {
|
||||
return {
|
||||
|
|
@ -49,7 +49,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 = loadDefaultValues(inputs, details);
|
||||
inputs = lib.loadDefaultValues(inputs, details);
|
||||
if (inputs.languages == "" || typeof inputs.special == "undefined") {
|
||||
var languages = ["eng", "en"]; //these languages should be kept, named according to ISO 639-2 language scheme
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue