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
7 changes: 7 additions & 0 deletions common/is-non-film-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ const nonFilmEvents = [
// A zine-making workshop, with no film attached to it. Anchored, because
// the phrase could as easily be a film's own title.
/^Let's Make Zines$/i,
// Social nights with no film attached to them. Anchored, because the
// phrases could as easily be a film's own title.
/^LGBTQ\+ Meetup$/i,
/^LGBTQ\+ Speed Dating$/i,
/^The Ideas Open Mic$/i,
// A talk with no film attached to it.
/^Restricted View: Notes on the Human Experience$/i,
];

const isNonFilmEvent = ({ title }) =>
Expand Down
2 changes: 2 additions & 0 deletions common/known-removable-phrases.js
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,8 @@ const knownRemovablePhrases = [
"Screening+Karaoke",
"Screening 流麻溝十五號放映會",
"Screening at Close-Up",
// Before "Screening:", which would otherwise leave "Relaxed-" behind.
"Relaxed-Screening:",
"Screening:",
"ScreenTalk:",
"Screening of ",
Expand Down
3 changes: 3 additions & 0 deletions common/normalize-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ function normalizeTitle(title, options) {
// pairing is spelled with an ampersand before that runs.
["Yellow Ribbons + ", "Yellow Ribbons & "],
["HALT BOOK LAUNCH + ", "HALT BOOK LAUNCH & "],
// A double bill billed with a plus, which the separator rule reads as a
// separator and drops the second film at.
["Lift + Calais: The Last Border", "Lift & Calais: The Last Border"],
["HERO + My Dad, Guyana and Me", "HERO & My Dad, Guyana and Me"],
["Music with Tara Franks + ", "Music with Tara Franks & "],
["Storytelling + ", "Storytelling & "],
Expand Down
76 changes: 76 additions & 0 deletions common/tests/test-titles.json
Original file line number Diff line number Diff line change
Expand Up @@ -101106,5 +101106,81 @@
{
"input": "Strange Case of Dr Jekyll and Mr Hyde – In Concert, Live To Film",
"output": "dr jekyll mr hyde"
},
{
"input": "Rooted Out",
"output": "rooted out"
},
{
"input": "Macabre (1958)",
"output": "macabre (1958)"
},
{
"input": "She Devils on Wheels (1968)",
"output": "she devils on wheels (1968)"
},
{
"input": "Marie Antoinette (20th Anniversary)",
"output": "marie antoinette"
},
{
"input": "Pan's Labyrinth 20th Anniversary 4K Restoration",
"output": "pans labyrinth"
},
{
"input": "Rocky (50th Anniversary 4K Restoration)",
"output": "rocky"
},
{
"input": "V for Vendetta (20th Anniversary)",
"output": "v for vendetta"
},
{
"input": "All White in Barking followed by Q&A with Marc Isaacs",
"output": "all white in barking"
},
{
"input": "Lift + Calais: The Last Border followed by Q&A with Marc Isaacs",
"output": "lift calais the last border"
},
{
"input": "Synthetic Sincerity followed by Q&A with Marc Isaacs",
"output": "synthetic sincerity"
},
{
"input": "The Filmmaker's House followed by Q&A with Marc Isaacs",
"output": "filmmakers house"
},
{
"input": "Members' Preview: La Bola Negra",
"output": "la bola negra"
},
{
"input": "Celebrity Traitors Finale",
"output": "celebrity traitors finale"
},
{
"input": "The Best Summer",
"output": "best summer"
},
{
"input": "Celebrity Traitors Finale Watch Party",
"output": "celebrity traitors finale"
},
{
"input": "UK Premiere: Meeting the Buddha",
"output": "meeting the buddha"
},
{
"input": "Relaxed-Screening: Sunset Boulevard",
"output": "sunset boulevard"
},
{
"input": "Raise the Red Lantern",
"output": "raise the red lantern"
},
{
"input": "Film Africa: In a Whisper",
"output": "in a whisper"
}
]
Loading