From 4a602053f1f32a503ca0195936206da57a7adbd4 Mon Sep 17 00:00:00 2001 From: Alistair Brown Date: Thu, 8 Oct 2026 00:53:18 +0100 Subject: [PATCH] =?UTF-8?q?Correct=20"Avarachan=20&=20Sons"=20and=20"?= =?UTF-8?q?=D0=92=D0=A1=D0=81=20=D0=9D=D0=9E=D0=A0=D0=9C=D0=90=D0=9B=D0=AC?= =?UTF-8?q?=D0=9D=D0=9E"=20titles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Venues spell "Avaraachan & Sons" with one "a", and list Dmitry Krymov's film under its Russian title, which TheMovieDB searches can't find - so normalise both to the titles TheMovieDB carries. Co-Authored-By: Claude Opus 5.5 --- common/normalize-title.js | 2 ++ common/tests/test-titles.json | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/common/normalize-title.js b/common/normalize-title.js index 3fe9430d..35133d2d 100644 --- a/common/normalize-title.js +++ b/common/normalize-title.js @@ -380,6 +380,8 @@ function normalizeTitle(title, options) { ["Badhu Alright che", "Badhu Alright chhe"], ["Maa Inti Bangaaram", "Maa Inti Bangaram"], ["Main Vaapas Aunga", "Main Vaapas Aaunga"], + ["Avarachan & Sons", "Avaraachan & Sons"], + [/вс[её] нормально/i, "It's All Right"], ["Frozen 2", "Frozen II"], ["Terminator 2 Live", " Terminator 2"], [/\s+terminator 2($| \()/i, " Terminator 2 Judgment Day$1"], diff --git a/common/tests/test-titles.json b/common/tests/test-titles.json index 484383a6..9f5368e7 100644 --- a/common/tests/test-titles.json +++ b/common/tests/test-titles.json @@ -96901,7 +96901,11 @@ }, { "input": "«ВСЁ НОРМАЛЬНО»: ПОКАЗ ФИЛЬМА И Q&A С ДМИТРИЕМ КРЫМОВЫМ", - "output": "все нормаnьно" + "output": "its all right" + }, + { + "input": "ВСЁ НОРМАЛЬНО", + "output": "its all right" }, { "input": "Báite – London Premier Screening", @@ -98693,7 +98697,7 @@ }, { "input": "Avarachan & Sons", - "output": "avarachan sons" + "output": "avaraachan sons" }, { "input": "PREM KEETANU", @@ -100597,7 +100601,7 @@ }, { "input": "Avarachan & Sons (Malayalam)", - "output": "avarachan sons" + "output": "avaraachan sons" }, { "input": "Lalka (Polish)",