From d0a5ccf078ffee4fd917bc4fb0cb3e320e6ebe7b Mon Sep 17 00:00:00 2001 From: Enigma Date: Mon, 7 Feb 2022 21:26:56 -0500 Subject: [PATCH] Adds missing details and fixes tooltip formating (#261) * Adds missing details and fixes tooltip formating The audio & subtitle stream titles are not altogether removed. Should probably add another option for that down the road. * Fix lint errors * Adds missing details and fixes tooltip formating The audio & subtitle stream titles are not altogether removed. Should probably add another option for that down the road. * Fix lint errors Co-authored-by: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> --- Community/Tdarr_Plugin_MC93_Migz2CleanTitle.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Community/Tdarr_Plugin_MC93_Migz2CleanTitle.js b/Community/Tdarr_Plugin_MC93_Migz2CleanTitle.js index 18ba31a..127e159 100644 --- a/Community/Tdarr_Plugin_MC93_Migz2CleanTitle.js +++ b/Community/Tdarr_Plugin_MC93_Migz2CleanTitle.js @@ -18,7 +18,9 @@ const details = () => ({ 'true', ], }, - tooltip: `Specify if audio titles should be checked & cleaned. Optional. + tooltip: ` +Specify if audio titles should be checked & cleaned. +Optional. Only removes titles if they contain at least 3 '.' characters. \\nExample:\\n true @@ -36,7 +38,9 @@ const details = () => ({ 'true', ], }, - tooltip: `Specify if subtitle titles should be checked & cleaned. Optional. + tooltip: ` +Specify if subtitle titles should be checked & cleaned. +Optional. Only removes titles if they contain at least 3 '.' characters. \\nExample:\\n true @@ -51,9 +55,9 @@ const details = () => ({ type: 'text', }, tooltip: `If you enable audio or subtitle cleaning the plugin only looks for titles with more then 3 full stops. - //nThis is one way to identify junk metadata without removing real metadata that you might want. - //nHere you can specify your own text for it to also search for to match and remove. - //nComma separated. Optional. + \\nThis is one way to identify junk metadata without removing real metadata that you might want. + \\nHere you can specify your own text for it to also search for to match and remove. + \\nComma separated. Optional. \\nExample:\\n MiNX - Small HD episodes