From 6a26a708ac4b36863a7d03566f8469496bc93354 Mon Sep 17 00:00:00 2001 From: lkenner <37031175+lkenner@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:50:29 +0100 Subject: [PATCH] added another suffix but mainly for testing --- source/.DS_Store | Bin 10244 -> 10244 bytes source/templates/index.html | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/.DS_Store b/source/.DS_Store index 573e0d8072a1226400fad48aa7c70a681e9161d0..6210b86d937d1cf64f7048436632e52aab18d3e5 100644 GIT binary patch delta 60 zcmZn(XbG6$FDlHyz`)4BAiz*ukd%|31mx{XD%e;!jeTMR?`C!m77j+?&FTUV_$M|< PZ)R8c#j;sOl$jX-2Hwr=94s6%AQkKkdJO3d cnG7Y!s`7IfHuDHP;NQ%y@QY>hGZAKH08t7RrT_o{ diff --git a/source/templates/index.html b/source/templates/index.html index 2531f50..8041134 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -472,7 +472,7 @@

Similar Channels

name = name.replace(/\(.*?\)/g, ''); name = name.replace(/[^\w\s]/g, ''); - var suffixes = ['HD', 'RAW', 'LOW BIT', 'AMZ', 'ᴴᴰ', 'ᴿᴬᵂ', 'ᵃᵐᶻ', '◉']; + var suffixes = ['HD', '4K', 'RAW', 'LOW BIT', 'AMZ', 'ᴴᴰ', 'ᴿᴬᵂ', 'ᵃᵐᶻ', '◉']; suffixes.forEach(function(suffix) { var regex = new RegExp('\\b' + suffix + '\\b', 'g'); name = name.replace(regex, '');