From c80399d405ff777a9a38e5b268f766c85382d4dd Mon Sep 17 00:00:00 2001 From: Mike R Date: Thu, 4 Nov 2021 13:47:53 +0000 Subject: [PATCH] corrected id and quote format --- Community/Tdarr_Plugin_TD01_TOAD_Autoscan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Community/Tdarr_Plugin_TD01_TOAD_Autoscan.js b/Community/Tdarr_Plugin_TD01_TOAD_Autoscan.js index a217b96..a291e28 100644 --- a/Community/Tdarr_Plugin_TD01_TOAD_Autoscan.js +++ b/Community/Tdarr_Plugin_TD01_TOAD_Autoscan.js @@ -5,7 +5,7 @@ module.exports.dependencies = [ /* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */ module.exports.details = function details() { return { - id: 'Tdarr_Plugin_TD01_TOAD_Plex_Autoscan', + id: 'Tdarr_Plugin_TD01_TOAD_Autoscan', Stage: 'Post-processing', Name: 'Trigger Plex_Autoscan.', Type: 'Video', @@ -65,7 +65,7 @@ module.exports.plugin = function plugin(file, librarySettings, inputs) { let file2 = ''; 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 = '';