From 270f35004b1cf7da16020a7687eeec1288581199 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Fri, 7 Feb 2020 19:35:53 +0000 Subject: [PATCH] Example update --- Tdarr_Plugin_aaaa_Pre_Proc_Example.js | 18 ++++++++++++++++-- Tdarr_Plugin_zzzz_Post_Proc_Example.js | 16 ++++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/Tdarr_Plugin_aaaa_Pre_Proc_Example.js b/Tdarr_Plugin_aaaa_Pre_Proc_Example.js index e9d7b78..e0eed10 100644 --- a/Tdarr_Plugin_aaaa_Pre_Proc_Example.js +++ b/Tdarr_Plugin_aaaa_Pre_Proc_Example.js @@ -16,11 +16,25 @@ module.exports.details = function details() { Inputs: [ //(Optional) Inputs you'd like the user to enter to allow your plugin to be easily configurable from the UI { name: 'language', - tooltip: `Enter one language tag here for the language of the subtitles you'd like to keep. \nExample:\n eng \nExample:\n fr \nExample:\n de` //Each line following `Example:` will be clearly formatted + tooltip: `Enter one language tag here for the language of the subtitles you'd like to keep. + + \\nExample:\\n + eng + + \\nExample:\\n + + fr + + \\nExample:\\n + + de` //Each line following `Example:` will be clearly formatted. \\n used for line breaks }, { name: 'channels', - tooltip: `Desired audio channel number. \nExample:\n 2` + tooltip: `Desired audio channel number. + + \\nExample:\\n + 2` }, ] diff --git a/Tdarr_Plugin_zzzz_Post_Proc_Example.js b/Tdarr_Plugin_zzzz_Post_Proc_Example.js index cdcd8aa..37627b9 100644 --- a/Tdarr_Plugin_zzzz_Post_Proc_Example.js +++ b/Tdarr_Plugin_zzzz_Post_Proc_Example.js @@ -16,11 +16,23 @@ module.exports.details = function details() { Inputs: [ //(Optional) Inputs you'd like the user to enter to allow your plugin to be easily configurable from the UI { name: 'language', - tooltip: `Enter one language tag here for the language of the subtitles you'd like to keep. \nExample:\n eng \nExample:\n fr \nExample:\n de` //Each line following `Example:` will be clearly formatted + tooltip: `Enter one language tag here for the language of the subtitles you'd like to keep. + + \\nExample:\\n + eng + + \\nExample:\\n + fr + + \\nExample:\\n + de` //Each line following `Example:` will be clearly formatted. \\n used for line breaks }, { name: 'channels', - tooltip: `Desired audio channel number. \nExample:\n 2` + tooltip: `Desired audio channel number. + + \\nExample:\\n + 2` }, ]