mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -07:00
corrected id and quote format
This commit is contained in:
parent
9074a2d4e4
commit
c80399d405
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ module.exports.dependencies = [
|
||||||
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
||||||
module.exports.details = function details() {
|
module.exports.details = function details() {
|
||||||
return {
|
return {
|
||||||
id: 'Tdarr_Plugin_TD01_TOAD_Plex_Autoscan',
|
id: 'Tdarr_Plugin_TD01_TOAD_Autoscan',
|
||||||
Stage: 'Post-processing',
|
Stage: 'Post-processing',
|
||||||
Name: 'Trigger Plex_Autoscan.',
|
Name: 'Trigger Plex_Autoscan.',
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
|
|
@ -65,7 +65,7 @@ module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
||||||
let file2 = '';
|
let file2 = '';
|
||||||
|
|
||||||
if(inputs.autoscan_username) {
|
if(inputs.autoscan_username) {
|
||||||
auth = "Basic " + Buffer.from(inputs.autoscan_username + ":" + inputs.autoscan_password).toString('base64');
|
auth = 'Basic ' + Buffer.from(inputs.autoscan_username + ':' + inputs.autoscan_password).toString('base64');
|
||||||
}
|
}
|
||||||
|
|
||||||
let filepath = '';
|
let filepath = '';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue