Wonder: Paul's decisions on the borderline films, and its evening and October blocks
Everyday: The Parent Trap (1998), Freaky Friday (2003), The Princess Diaries 2, Holes. Family Evening 18-21 only: Cruella and Mulan (2020), both PG-13. October evenings: The Haunted Mansion; Halloween week evenings: Hocus Pocus 2. The Secret Garden (1993) is out: the server has no media details for its copy. Ownership elsewhere unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@ internal val ChannelPresets = listOf(
|
||||
"Frozen (2013)", "Tangled (2010)", "Moana (2016)", "Zootopia", "Big Hero 6", "Wreck-It Ralph", "Dinosaur (2000)",
|
||||
"Fun and Fancy Free (1947)", "Melody Time (1948)", "The Tigger Movie (2000)", "Piglet's Big Movie (2003)", "Strange World (2022)", "Wish (2023)", "Moana 2 (2024)", "Zootopia 2 (2025)", "Bedknobs and Broomsticks (1971)", "Pete's Dragon (1977)", "Disenchanted (2022)", "Mufasa: The Lion King (2024)",
|
||||
// The rest of Disney Animation, moved from PixelZ (Paul, 23 November 2026).
|
||||
"Frozen II", "Encanto", "Raya and the Last Dragon", "Ralph Breaks the Internet", "Bolt (2008)", "Meet the Robinsons", "Chicken Little") + WonderLiveAction, smartOnly = true, films = true),
|
||||
"Frozen II", "Encanto", "Raya and the Last Dragon", "Ralph Breaks the Internet", "Bolt (2008)", "Meet the Robinsons", "Chicken Little") + WonderLiveAction + WonderOlderFamily + WonderSpooky + WonderHalloween, smartOnly = true, films = true),
|
||||
ChannelPreset(613, "PixelZ", listOf("Toy Story", "Toy Story 2", "Toy Story 3", "Toy Story 4", "A Bug's Life", "Monsters, Inc.", "Monsters University", "Finding Nemo", "Finding Dory", "The Incredibles", "Incredibles 2", "Cars", "Cars 2", "Cars 3", "Ratatouille", "WALL·E", "Up (2009)", "Brave (2012)", "Inside Out (2015)", "Coco", "Luca", "Soul (2020)",
|
||||
"Shrek", "Shrek 2", "Shrek the Third", "Shrek Forever After", "Puss in Boots (2011)", "Madagascar", "Madagascar: Escape 2 Africa", "Kung Fu Panda", "Kung Fu Panda 2", "How to Train Your Dragon (2010)", "How to Train Your Dragon 2", "Megamind", "Antz", "Ice Age", "Ice Age: The Meltdown", "Despicable Me", "Despicable Me 2", "Minions", "The Lego Movie", "Rio", "Robots (2005)", "Cloudy with a Chance of Meatballs", "Hotel Transylvania", "Hotel Transylvania 2", "Trolls", "Sing (2016)", "The Secret Life of Pets", "Despicable Me 3", "Monsters vs Aliens", "The Croods", "Turbo (2013)", "Rise of the Guardians", "Epic (2013)", "Ice Age: Dawn of the Dinosaurs", "Ice Age: Continental Drift", "Happy Feet", "Over the Hedge", "Shark Tale", "Bee Movie", "Puss in Boots: The Last Wish", "Madagascar 3: Europe's Most Wanted", "Kung Fu Panda 3", "How to Train Your Dragon: The Hidden World", "Onward", "Elemental (2023)", "Lightyear", "Turning Red", "The Good Dinosaur", "The Wild Robot", "The LEGO Batman Movie", "The Lego Ninjago Movie", "Storks", "Ferdinand", "The Boss Baby", "The Smurfs (2011)", "Open Season (2006)", "Surf's Up", "The Polar Express", "Monster House", "Rango", "Spider-Man: Into the Spider-Verse", "Spider-Man: Across the Spider-Verse", "The Mitchells vs. the Machines", "Luck (2022)",
|
||||
// Aardman, moved from Wonder: PixelZ is Pixar-style, DreamWorks, Aardman and stop-motion; Wonder is the Disney side (Paul, 23 November 2026).
|
||||
|
||||
@@ -323,7 +323,7 @@ private val SmartChannelMixed: Map<Int, Set<String>> get() = mapOf(101 to Orbit1
|
||||
private val SmartChannelParts: Map<Int, List<DayPart>> get() = mapOf(101 to Orbit1DayParts, 102 to Orbit2DayParts, 103 to ThreeDayParts, 104 to GoldDayParts, 105 to RiotDayParts, 304 to HorrorDayParts,
|
||||
602 to HeroesDayParts, 603 to OrbitXDayParts, 604 to RewindDayParts, 605 to ToonZDayParts, 204 to DarkFilesDayParts, 203 to WildDayParts, 202 to OdysseyDayParts, 107 to EvidenceDayParts,
|
||||
401 to RingXDayParts, 611 to JuniorDayParts, 205 to KitchenDayParts, 206 to HomeDayParts, 108 to PlayDayParts,
|
||||
109 to SignatureDayParts, 110 to UnscriptedDayParts, CHRISTMAS_NUMBER to ChristmasDayParts, AMERICANA_NUMBER to AmericanaDayParts, ATLAS_NUMBER to AtlasDayParts, SYNDICATE_NUMBER to SyndicateDayParts, PUNCHLINE_NUMBER to PunchlineDayParts, OUTLAW_NUMBER to OutlawDayParts, SILVER_SCREEN_NUMBER to SilverScreenDayParts, STORIES_NUMBER to StoriesDayParts)
|
||||
109 to SignatureDayParts, 110 to UnscriptedDayParts, CHRISTMAS_NUMBER to ChristmasDayParts, AMERICANA_NUMBER to AmericanaDayParts, ATLAS_NUMBER to AtlasDayParts, SYNDICATE_NUMBER to SyndicateDayParts, PUNCHLINE_NUMBER to PunchlineDayParts, WONDER_NUMBER to WonderDayParts, OUTLAW_NUMBER to OutlawDayParts, SILVER_SCREEN_NUMBER to SilverScreenDayParts, STORIES_NUMBER to StoriesDayParts)
|
||||
|
||||
/** Optional bigger pools, only used once reviewed. No rule for Orbit Gold or Orbit Three: nothing in the library's details can tell a British sitcom apart. */
|
||||
private val SmartChannelRules: Map<Int, List<SuggestionRule>> get() = mapOf(
|
||||
|
||||
@@ -2,11 +2,15 @@ package tv.orbit.classic
|
||||
|
||||
/**
|
||||
* Wonder's live-action films (Paul, 26 November 2026, Wonder family option 1): Wonder is storybook cinema, hand-drawn
|
||||
* animation, fantasy and magical family adventures, with the live-action films that suit it. These 51 passed the read-only
|
||||
* audit (audit-20261126-wonder/live-action): rated G or PG, playable here, and on no other channel. Mulan (2020, PG-13) and
|
||||
* the seven borderline films wait for Paul; films with a home elsewhere (VHS, Christmas, Premiere) stay there.
|
||||
* animation, fantasy and magical family adventures, with the live-action films that suit it. From the read-only audit
|
||||
* (audit-20261126-wonder/live-action), each playable here and on no other channel. The Secret Garden (1993) is left out: the
|
||||
* server has no media details for its copy (no running time, no streams; the 69-minute copy is the 1994 animated film), and
|
||||
* the five classics the server no longer returns stay out until a playable copy is confirmed. Films with a home elsewhere
|
||||
* (VHS, Romance, Christmas, Premiere) stay there: a guest appearance needs its own event approval and keeps network rest.
|
||||
*/
|
||||
internal val WonderLiveAction = listOf(
|
||||
// Paul, 26 November 2026: four of the borderline seven, for everyday Wonder (Holes in its family-adventure rotation).
|
||||
"The Parent Trap (1998)", "Freaky Friday (2003)", "The Princess Diaries 2: Royal Engagement (2004)", "Holes (2003)",
|
||||
"Mary Poppins (1964)", "Mary Poppins Returns (2018)", "Pete's Dragon (2016)", "101 Dalmatians (1996)", "102 Dalmatians (2000)", "Maleficent (2014)",
|
||||
"Maleficent: Mistress of Evil (2019)", "Cinderella (2015)", "Beauty and the Beast (2017)", "The Jungle Book (2016)", "Aladdin (2019)",
|
||||
"The Lion King (2019)", "Dumbo (2019)", "Lady and the Tramp (2019)", "Pinocchio (2022)", "The Little Mermaid (2023)", "Peter Pan & Wendy (2023)",
|
||||
@@ -17,10 +21,13 @@ internal val WonderLiveAction = listOf(
|
||||
"The Chronicles of Narnia: The Voyage of the Dawn Treader (2010)", "Bridge to Terabithia (2007)", "The Spiderwick Chronicles (2008)",
|
||||
"Paddington (2014)", "Paddington 2 (2017)", "Paddington in Peru (2024)", "Matilda (1996)", "Roald Dahl's Matilda the Musical (2022)",
|
||||
"The BFG (2016)", "Charlie and the Chocolate Factory (2005)", "Willy Wonka & the Chocolate Factory (1971)", "Wonka (2023)", "Babe (1995)",
|
||||
"Babe: Pig in the City (1998)", "Stuart Little (1999)", "The Secret Garden (1993)", "A Little Princess (1995)", "Escape to Witch Mountain (1975)")
|
||||
"Babe: Pig in the City (1998)", "Stuart Little (1999)", "A Little Princess (1995)", "Escape to Witch Mountain (1975)")
|
||||
|
||||
/** The server's IMDb IDs for them, so a remake or another film of the same name and year is never taken for one. */
|
||||
internal val WonderImdb: Map<String, String> by lazy { mapOf(
|
||||
"The Parent Trap (1998)" to "tt0120783", "Freaky Friday (2003)" to "tt0322330", "The Princess Diaries 2: Royal Engagement (2004)" to "tt0368933",
|
||||
"Holes (2003)" to "tt0311289", "Cruella (2021)" to "tt3228774", "Mulan (2020)" to "tt4566758", "The Haunted Mansion (2003)" to "tt0338094",
|
||||
"Hocus Pocus 2 (2022)" to "tt11909878",
|
||||
"Mary Poppins (1964)" to "tt0058331", "Mary Poppins Returns (2018)" to "tt5028340", "Pete's Dragon (2016)" to "tt2788732",
|
||||
"101 Dalmatians (1996)" to "tt0115433", "102 Dalmatians (2000)" to "tt0211181", "Maleficent (2014)" to "tt1587310",
|
||||
"Maleficent: Mistress of Evil (2019)" to "tt4777008", "Cinderella (2015)" to "tt1661199", "Beauty and the Beast (2017)" to "tt2771200",
|
||||
@@ -37,5 +44,28 @@ internal val WonderImdb: Map<String, String> by lazy { mapOf(
|
||||
"Paddington 2 (2017)" to "tt4468740", "Paddington in Peru (2024)" to "tt5822536", "Matilda (1996)" to "tt0117008",
|
||||
"Roald Dahl's Matilda the Musical (2022)" to "tt3447590", "The BFG (2016)" to "tt3691740", "Charlie and the Chocolate Factory (2005)" to "tt0367594",
|
||||
"Willy Wonka & the Chocolate Factory (1971)" to "tt0067992", "Wonka (2023)" to "tt6166392", "Babe (1995)" to "tt0112431",
|
||||
"Babe: Pig in the City (1998)" to "tt0120595", "Stuart Little (1999)" to "tt0164912", "The Secret Garden (1993)" to "tt0108071",
|
||||
"Babe: Pig in the City (1998)" to "tt0120595", "Stuart Little (1999)" to "tt0164912",
|
||||
"A Little Princess (1995)" to "tt0113670", "Escape to Witch Mountain (1975)" to "tt0072951") }
|
||||
|
||||
/** Wonder's older-family evening (Paul, 26 November 2026): PG-13 films, 18:00 to 21:00 only. */
|
||||
internal val WonderOlderFamily = listOf("Cruella (2021)", "Mulan (2020)")
|
||||
/** October's spooky-family evenings: The Haunted Mansion joins the evening films through October. */
|
||||
internal val WonderSpooky = listOf("The Haunted Mansion (2003)")
|
||||
/** Halloween week only, the last seven days of October: Hocus Pocus 2. */
|
||||
internal val WonderHalloween = listOf("Hocus Pocus 2 (2022)")
|
||||
|
||||
/**
|
||||
* Wonder's blocks: every everyday film all day, the older-family films only in the evening, and the seasonal ones only in
|
||||
* October's evenings (first match wins, so the seasonal blocks come first). Nothing is moved that's already booked.
|
||||
*/
|
||||
internal val WonderDayParts: List<DayPart> get() {
|
||||
val seasonal = (WonderOlderFamily + WonderSpooky + WonderHalloween).toSet()
|
||||
val everyday = ChannelPresets.first { it.number == WONDER_NUMBER }.searches.filter { it !in seasonal }
|
||||
return listOf(
|
||||
DayPart(18, 21, everyday + WonderOlderFamily + WonderSpooky + WonderHalloween, group = "Halloween Week", months = setOf(java.time.Month.OCTOBER), monthWeek = LAST_WEEK),
|
||||
DayPart(18, 21, everyday + WonderOlderFamily + WonderSpooky, group = "Spooky Family Evenings", months = setOf(java.time.Month.OCTOBER)),
|
||||
DayPart(6, 18, everyday),
|
||||
DayPart(18, 21, everyday + WonderOlderFamily, group = "Family Evening"),
|
||||
DayPart(21, 6, everyday))
|
||||
}
|
||||
internal const val WONDER_NUMBER = 612
|
||||
|
||||
@@ -11,9 +11,9 @@ class WonderLiveActionTest {
|
||||
private val pixelz = ChannelPresets.first { it.number == 613 }.searches
|
||||
|
||||
@Test fun theAuditedLiveActionFilmsAreOnWonderEachPinnedByItsImdbId() {
|
||||
assertEquals(51, WonderLiveAction.size)
|
||||
assertEquals(54, WonderLiveAction.size)
|
||||
assertEquals(WonderLiveAction.size, WonderLiveAction.distinct().size)
|
||||
WonderLiveAction.forEach { entry ->
|
||||
(WonderLiveAction + WonderOlderFamily + WonderSpooky + WonderHalloween).forEach { entry ->
|
||||
assertTrue(entry, entry in wonder)
|
||||
assertTrue(entry, FilmIdentity.of(entry).imdb?.startsWith("tt") == true)
|
||||
assertTrue(entry, FilmIdentity.of(entry).year != null)
|
||||
@@ -22,12 +22,39 @@ class WonderLiveActionTest {
|
||||
assertEquals("tt4593060", FilmIdentity.of("Pinocchio (2022)").imdb)
|
||||
}
|
||||
|
||||
@Test fun noneIsOnAnotherChannelAndTheHeldOnesWait() {
|
||||
@Test fun noneIsOnAnotherChannelAndTheUnconfirmedStayOut() {
|
||||
val others = SmartChannels.filter { it.number != 612 }.flatMap { it.searches + it.channelFilms }.map { seriesKey(FilmIdentity.of(it).label) }.toSet()
|
||||
WonderLiveAction.forEach { assertFalse(it, seriesKey(FilmIdentity.of(it).label) in others) }
|
||||
// Mulan (2020) is PG-13, and the borderline seven wait for Paul.
|
||||
listOf("Mulan (2020)", "Cruella (2021)", "The Parent Trap (1998)", "Freaky Friday (2003)", "The Haunted Mansion (2003)", "Hocus Pocus 2 (2022)", "Holes (2003)",
|
||||
"The Princess Diaries 2: Royal Engagement (2004)").forEach { assertFalse(it, it in wonder) }
|
||||
(WonderLiveAction + WonderOlderFamily + WonderSpooky + WonderHalloween).forEach { assertFalse(it, seriesKey(FilmIdentity.of(it).label) in others) }
|
||||
// No playable copy confirmed: The Secret Garden (1993) has no media details on the server, and five classics are gone.
|
||||
listOf("The Secret Garden (1993)", "Old Yeller (1957)", "Swiss Family Robinson (1960)", "20,000 Leagues Under the Sea (1954)", "The Love Bug (1968)",
|
||||
"The Parent Trap (1961)").forEach { assertFalse(it, it in wonder) }
|
||||
// Homes elsewhere stay there: no guest films without an approved event.
|
||||
listOf("Hocus Pocus (1993)", "The Princess Diaries (2001)", "The Wizard of Oz (1939)", "Home Alone (1990)").forEach { assertFalse(it, it in wonder) }
|
||||
}
|
||||
|
||||
private val parts = WonderDayParts
|
||||
private fun at(month: Int, day: Int, hour: Int) = java.time.LocalDateTime.of(2026, month, day, hour, 30).atZone(java.time.ZoneId.of("Europe/London"))
|
||||
private fun allowed(month: Int, day: Int, hour: Int): List<String> = parts.first { it.covers(at(month, day, hour)) }.titles
|
||||
|
||||
@Test fun olderFamilyFilmsOnlyInTheEveningAndTheSpookyOnesOnlyInOctober() {
|
||||
val everyday = listOf("The Parent Trap (1998)", "Freaky Friday (2003)", "The Princess Diaries 2: Royal Engagement (2004)", "Holes (2003)", "Mary Poppins (1964)", "Spirited Away")
|
||||
for (hour in listOf(7, 12, 17, 19, 22, 3)) everyday.forEach { assertTrue("$it at $hour", it in allowed(11, 26, hour)) }
|
||||
listOf(7, 12, 17, 22, 3).forEach { h -> WonderOlderFamily.forEach { assertFalse("$it at $h", it in allowed(11, 26, h)) } }
|
||||
WonderOlderFamily.forEach { assertTrue(it, it in allowed(11, 26, 19)) }
|
||||
// The Haunted Mansion: October evenings only. Hocus Pocus 2: Halloween week evenings only.
|
||||
assertFalse("The Haunted Mansion (2003)" in allowed(11, 26, 19)); assertFalse("The Haunted Mansion (2003)" in allowed(10, 10, 12))
|
||||
assertTrue("The Haunted Mansion (2003)" in allowed(10, 10, 19))
|
||||
assertFalse("Hocus Pocus 2 (2022)" in allowed(10, 10, 19)); assertFalse("Hocus Pocus 2 (2022)" in allowed(10, 28, 12))
|
||||
assertTrue("Hocus Pocus 2 (2022)" in allowed(10, 28, 19)); assertTrue("Hocus Pocus 2 (2022)" in allowed(10, 31, 20))
|
||||
// Every hour of every day has a block, so a seasonal film never slips into the whole pool.
|
||||
for (m in 1..12) for (h in 0..23) assertTrue(parts.any { it.covers(at(m, 15, h)) })
|
||||
}
|
||||
|
||||
@Test fun mulanTheRemakeIsNotTakenForTheAnimatedFilm() {
|
||||
val remake = PoolSeries("2", "Mulan", listOf(PoolEpisode("2", "s", EpisodeMark(1, 1), "Mulan", 6_900_000)), ref = "imdb.tt4566758", year = 2020)
|
||||
val day = parts.first { it.covers(at(11, 26, 12)) }
|
||||
assertTrue(filmsIn(listOf(remake), day).isEmpty())
|
||||
assertEquals(listOf(remake), filmsIn(listOf(remake), parts.first { it.covers(at(11, 26, 19)) }))
|
||||
}
|
||||
|
||||
@Test fun storytellingStyleDecidesTheChannelNotTheStudio() {
|
||||
|
||||
Reference in New Issue
Block a user