Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cinemas/coldharbourblue.com/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const {
createAccessibility,
} = require("../../common/utils");
const { extractJsonLdEvents } = require("../../common/tribe-events/transform");
const { isNotSportShowing } = require("../../common/is-sport-showing");
const attributes = require("./attributes");
const { decode } = require("html-entities");

Expand Down Expand Up @@ -83,7 +84,7 @@ async function transform(retrievedData, sourcedEvents) {
const listOfSourcedEvents = Object.values(sourcedEvents).flatMap(
(events) => events,
);
return movies.concat(listOfSourcedEvents);
return movies.filter(isNotSportShowing).concat(listOfSourcedEvents);
}

module.exports = transform;
4 changes: 4 additions & 0 deletions common/known-removable-phrases.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@ const knownRemovablePhrases = [
"by Renátó Olasz",
"by Fassbinder",
"by Joe Harvey-Whyte",
"by Mos Hannan and Usayd Younis",
"by Leesa Gazi",
"by Rahemur Rahman and Lily Vetch",
"by Seemab Gul",
"C.O.F.F.I.N '",
"COLD ISLANDERS:",
"Cold War Visions:",
Expand Down
1 change: 1 addition & 0 deletions common/normalize-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ function normalizeTitle(title, options) {
"What’s Up Daiquiris, bag switcheroos + ",
"What's Up Daiquiris, bag switcheroos: ",
],
["One Day in Whitechapel + ", "One Day in Whitechapel & "],
];

corrections.forEach(([phrase, replacement]) => {
Expand Down
56 changes: 48 additions & 8 deletions common/tests/test-titles.json
Original file line number Diff line number Diff line change
Expand Up @@ -23391,10 +23391,6 @@
"input": "Jaws 50th Anniversary Re-Release",
"output": "jaws"
},
{
"input": "UEFA Women's Euros Final 2025- England vs Spain",
"output": "uefa womens euros final 2025- england vs spain"
},
{
"input": "8",
"output": "8"
Expand Down Expand Up @@ -23759,10 +23755,6 @@
"input": "This is Spinal Tap",
"output": "this is spinal tap"
},
{
"input": "Womens Euro Finals 2025: England vs Spain",
"output": "womens euro finals 2025 england vs spain"
},
{
"input": "Amadeus (4K Restoration)",
"output": "amadeus"
Expand Down Expand Up @@ -78546,5 +78538,53 @@
{
"input": "LAFF 2026: Ten Canoes",
"output": "ten canoes"
},
{
"input": "FREE Screening - Lumumba : Death of a Prophet",
"output": "lumumba death of a prophet"
},
{
"input": "Patrice Lumumba: Still Alive at 101: The Vision, The Legacy",
"output": "patrice lumumba still alive at 101 the vision the legacy"
Comment thread
alistairjcbrown marked this conversation as resolved.
},
{
"input": "Fundraising event for Harold Hill Deer Aid Wildlife Rescue",
"output": "fundraising event for harold hill deer aid wildlife rescue"
},
{
"input": "Film Screening Satyajit Ray Short Films- Competition Part 2 London Indian F",
"output": "satyajit ray short films- competition 2 london indian f"
},
{
"input": "BAR TRASH presents Dawson City: Frozen Time",
"output": "dawson city frozen time"
},
{
"input": "BAR TRASH presents Rollercoaster",
"output": "rollercoaster"
},
{
"input": "BAR TRASH presents The Robe",
"output": "the robe"
},
{
"input": "FILM: After Eight: The Story of Satpal Ram by Mos Hannan and Usayd Younis",
"output": "after eight the story of satpal ram"
},
{
"input": "FILM: Barir Naam Shahana (A House Named Shahana) by Leesa Gazi",
"output": "barir naam shahana"
},
{
"input": "FILM: Body of Our Own by Rahemur Rahman and Lily Vetch",
"output": "body of our own"
},
{
"input": "FILM: July Women + Panel Discussion",
"output": "july women"
},
{
"input": "FILM: One Day in Whitechapel + Sandstorm by Seemab Gul",
Comment thread
alistairjcbrown marked this conversation as resolved.
"output": "one day in whitechapel sandstorm"
}
]