From 1c032958c9b4cb78f95df8ea1935847e86aa0e96 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sun, 12 Dec 2021 17:23:05 +0000 Subject: [PATCH] Add dropdown --- Community/Tdarr_Plugin_MC93_Migz3CleanAudio.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Community/Tdarr_Plugin_MC93_Migz3CleanAudio.js b/Community/Tdarr_Plugin_MC93_Migz3CleanAudio.js index 5eccec5..2dbe783 100644 --- a/Community/Tdarr_Plugin_MC93_Migz3CleanAudio.js +++ b/Community/Tdarr_Plugin_MC93_Migz3CleanAudio.js @@ -34,7 +34,11 @@ const details = () => ({ type: 'boolean', defaultValue: false, inputUI: { - type: 'text', + type: 'dropdown', + options: [ + 'false', + 'true', + ] }, tooltip: `Specify if audio tracks that contain commentary/description should be removed. \\nExample:\\n @@ -65,7 +69,11 @@ const details = () => ({ type: 'boolean', defaultValue: false, inputUI: { - type: 'text', + type: 'dropdown', + options: [ + 'false', + 'true', + ] }, tooltip: `Specify audio tracks with no title to be tagged with the number of channels they contain. \\nDo NOT use this with mp4, as mp4 does not support title tags.