From 085dbc80edd0a40ff9b1838bd97c650b63e55adf Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Wed, 22 Nov 2023 17:12:39 +0300 Subject: [PATCH] Update editor.ts --- scripts/commands/channels/editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/channels/editor.ts b/scripts/commands/channels/editor.ts index a723118b..375d1fb8 100644 --- a/scripts/commands/channels/editor.ts +++ b/scripts/commands/channels/editor.ts @@ -147,7 +147,7 @@ async function getInput(channel: Channel) { function getOptions(channelsIndex, channel: Channel) { const channelId = generateCode(channel.name, defaultCountry) - const query = channel.name.replace(/\s(SD|TV|HD)$/i, '').replace(/\+/gi, '') + const query = channel.name.replace(/\s(SD|TV|HD|SD\/HD)$/i, '').replace(/\+/gi, '') const similar = channelsIndex.search(query).map(item => new ApiChannel(item)) const variants = new Collection()