diff --git a/cinemas/picturehouses.com/tests/transform.test.js b/cinemas/picturehouses.com/tests/transform.test.js index 7e53daa..4b014a1 100644 --- a/cinemas/picturehouses.com/tests/transform.test.js +++ b/cinemas/picturehouses.com/tests/transform.test.js @@ -4,6 +4,8 @@ const moviesWithLocalScreenings = require("./mock-data/movie-with-local-screenin const formatParameter = (movies) => ({ movies }); +jest.useFakeTimers().setSystemTime(new Date("2024-08-01")); + describe("Hackney Picturehouse", () => { describe("when no movies provided", () => { it("returns an empty list of events", async () => { diff --git a/cinemas/picturehouses.com/transform.js b/cinemas/picturehouses.com/transform.js index 27e1647..167385b 100644 --- a/cinemas/picturehouses.com/transform.js +++ b/cinemas/picturehouses.com/transform.js @@ -13,11 +13,16 @@ async function transform({ movies }) { if (showings.length === 0) return moviesAtCinema; + // Remove private hire entries + if (movie.Title.toLowerCase().startsWith("private hire (")) { + return moviesAtCinema; + } + const overview = { categories: [], directors: [], actors: [], - duration: parseMinsToMs(movie.RunTime), + duration: parseMinsToMs(movie.RunTime) || parseMinsToMs(90), }; if (movie.Rating) { diff --git a/cinemas/riocinema.org.uk/tests/transform.test.js b/cinemas/riocinema.org.uk/tests/transform.test.js index c24f454..3ef5aab 100644 --- a/cinemas/riocinema.org.uk/tests/transform.test.js +++ b/cinemas/riocinema.org.uk/tests/transform.test.js @@ -3,6 +3,8 @@ const moviesWithLocalScreenings = require("./mock-data/movie-with-local-screenin const formatParameter = (data) => ({ data: { movies: { data } } }); +jest.useFakeTimers().setSystemTime(new Date("2024-08-01")); + describe("Rio Cinema", () => { describe("when no movies provided", () => { it("returns an empty list of events", async () => { diff --git a/cinemas/thecastlecinema.com/tests/mock-data/movie-with-local-screenings.txt b/cinemas/thecastlecinema.com/tests/mock-data/movie-with-local-screenings.txt index c296fd1..bb666be 100644 --- a/cinemas/thecastlecinema.com/tests/mock-data/movie-with-local-screenings.txt +++ b/cinemas/thecastlecinema.com/tests/mock-data/movie-with-local-screenings.txt @@ -4,12 +4,9 @@

MENU

- +
-
- +
-
- +
-
@@ -65,41 +51,31 @@

Calendar

-
@@ -178,299 +154,169 @@

See absolutely everything that's going on at The Castle Cinema, by date.

-
-
-

Thu, 1 Aug

-
-
- BBFC 15 -
- +
BBFC 15
- - +
-
- +

I Saw the TV Glow

-
- A classmate introduces teenage Owen to a mysterious late-night TV show - a vision of a supernatural world beneath their own. In the pale glow of the television, Owen's view of reality begins to crack. -
-
-
- - 11:00 - - (last few seats) - parent & baby - - - 17:15 - - - +
A classmate introduces teenage Owen to a mysterious late-night TV show - a vision of a supernatural world beneath their own. In the pale glow of the television, Owen's view of reality begins to crack.
+
-
-
- BBFC 15 -
- +
BBFC 15
- - +
-
- +

Longlegs

First highly anticipated and then highly acclaimed, Osgood Perkin’s dark, creepy and most definitely twisted, Longlegs continues an horrorendous Summer of memorable movies. Serial killer Longlegs, aka the legendary and completely unrecognisable Nicolas Cage, is on the loose. FBI Agent Lee Harker (Maika Monroe), is a gifted new recruit assigned to the case. As complex twists and turns unearth evidence of the occult, Harker discovers a personal connection to the merciless killer...
- +
-

Sun, 18 Aug

-
-
- BBFC PG -
- +
BBFC PG
- - +
-
- +

Cine-real presents: Double Indemnity

-
- Walter Neff, an insurance agent, is seduced by Phyllis Dietrichson, a married woman, into killing her husband for his insurance. However, Barton Keyes, an investigator, begins to suspect foul play. - Cine-real is one of the only film clubs in the UK to exclusively play films from original 16mm prints. They are a non-profit organisation which aims to unite film makers and enthusiasts in their appreciation of classic film. -
-
-
- - 14:00 - - - 16mm - +
Walter Neff, an insurance agent, is seduced by Phyllis Dietrichson, a married woman, into killing her husband for his insurance. However, Barton Keyes, an investigator, begins to suspect foul play. Cine-real is one of the only film clubs in the UK to exclusively play films from original 16mm prints. They are a non-profit organisation which aims to unite film makers and enthusiasts in their appreciation of classic film.
+
-

Tue, 20 Aug

-
-
- + -
- +
+

Pitchblack Playback: Portishead 'Dummy' (30th Anniversary)

*Please arrive by event start time as latecomers will not be admitted* Experience the fittingly cinematic drama of Portishead's 'Dummy' in intimate detail at Pitchblack Playback's listening session in the dark, celebrating the album's 30th anniversary. Hear this immense recording played loud in uncompressed audio on our powerful Screen One sound system. No distractions; just you and the music. "This sounds great” — Rick Rubin
"A fabulous idea" — Jay Kay, Jamiroquai
"It’s the way I remember experiencing music when I was a teenager, turning out the lights and just allowing myself to be carried away by the music" — Steven Wilson
"I have an out-of-body experience every time I go" — Jonny, artist manager Ticket includes Pitchblack Playback eye mask for extra darkness. As recommended by The Guardian, GQ, Time Out, Metro and Newsweek.
- +
-

Thu, 22 Aug

-
-
- BBFC 18 -
- +
BBFC 18
- - +
-
- +

Cine-real presents: Jagged Edge

-
- When Paige, a rich heiress, is murdered, her devastated husband Jack is arrested. He hires Teddy, a lawyer with an impeccable record, to represent him and soon she starts to fall in love with him. - Cine-real is one of the only film clubs in the UK to exclusively play films from original 16mm prints. They are a non-profit organisation which aims to unite film makers and enthusiasts in their appreciation of classic film. -
-
-
- - - 19:30 - - - 16mm - +
When Paige, a rich heiress, is murdered, her devastated husband Jack is arrested. He hires Teddy, a lawyer with an impeccable record, to represent him and soon she starts to fall in love with him. Cine-real is one of the only film clubs in the UK to exclusively play films from original 16mm prints. They are a non-profit organisation which aims to unite film makers and enthusiasts in their appreciation of classic film.
+
-

Thu, 12 Sep

-
-
- +

NT Live: Prima Facie

-
Jodie Comer (Killing Eve) makes her West End debut in the UK premiere of Suzie Miller?s award-winning play. Tessa is a young, brilliant barrister. She has worked her way up from working class origins to be at the top of her game; defending; cross examining and winning. An unexpected event forces her to confront the lines where the patriarchal power of the law, burden of proof and morals diverge. Prima Facie takes us to the heart of where emotion and experience collide with the rules of the game. Justin Martin directs this solo tour de force, captured live from the intimate Harold Pinter Theatre in London?s West End. - - Includes sensitive subject matter including reference to sex, violence and rape
-
-
- - - 18:45 - - - +
Jodie Comer (Killing Eve) makes her West End debut in the UK premiere of Suzie Miller?s award-winning play. Tessa is a young, brilliant barrister. She has worked her way up from working class origins to be at the top of her game; defending; cross examining and winning. An unexpected event forces her to confront the lines where the patriarchal power of the law, burden of proof and morals diverge. Prima Facie takes us to the heart of where emotion and experience collide with the rules of the game. Justin Martin directs this solo tour de force, captured live from the intimate Harold Pinter Theatre in London?s West End. Includes sensitive subject matter including reference to sex, violence and rape
+

The End

-

That's it for now. -
Want to be the first to hear about new shows as they're added? Sign up below.

+

That's it for now.
Want to be the first to hear about new shows as they're added? Sign up below.

-
- +
-