Americana (111): classic American television

Paul, 23 November 2026. Five dayparts (hometown mornings, the Western afternoon, sitcom teatime,
primetime soaps and mysteries, cops and drama late) from 45 playable series, each the server's
exact name. Serials in story order, the rest mixed. Preferred home of The Waltons and Little
House (Orbit 1 keeps them as Sunday guests). Chair brief, guide logo, bug, background and ident
in the house style; channel doc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 19:30:15 +00:00
co-authored by Claude Opus 5.5
parent e210aab42c
commit 9af07d4d90
14 changed files with 98 additions and 6 deletions
@@ -0,0 +1,30 @@
package tv.orbit.classic
/**
* Americana (Paul, 23 November 2026): a day of classic American television, the 1950s to the early 90s, built as a journey
* through the US schedule. Hometown family shows in the morning, a Western afternoon, sitcoms at teatime, primetime soaps and
* mysteries, then cops and drama late. Orbit 1 is today's comfort sitcoms, Gold is British comedy and Orbit 2 is British
* teatime with 80s action; Americana is American television history as an experience. Every title is the server's own name,
* checked playable with English sound (docs/channels/americana.md). If the evening grows into a channel of its own, it can
* split off as Americana After Hours.
*/
internal const val AMERICANA_NUMBER = 111
private val AmericanaMornings = listOf("The Waltons", "Little House on the Prairie", "Lassie", "Leave It to Beaver", "The Andy Griffith Show",
"Dr. Quinn, Medicine Woman", "Highway to Heaven")
/** The classic TV Westerns are Americana's; Western films are OUTLAW's. */
private val AmericanaWesterns = listOf("Gunsmoke", "Bonanza", "Maverick", "The Rifleman", "The Big Valley")
private val AmericanaSitcoms = listOf("I Love Lucy", "Bewitched", "I Dream of Jeannie", "The Dick Van Dyke Show", "Gilligan's Island", "The Addams Family",
"The Munsters", "The Brady Bunch", "Hogan's Heroes", "Happy Days", "Laverne & Shirley", "All in the Family", "The Jeffersons", "Sanford and Son",
"WKRP in Cincinnati", "Newhart", "ALF")
private val AmericanaPrimetime = listOf("Dallas", "Falcon Crest", "The Love Boat", "Fantasy Island", "Murder, She Wrote", "Perry Mason", "Matlock")
private val AmericanaLate = listOf("The Rockford Files", "Kojak", "Starsky & Hutch", "Charlie's Angels", "Hill Street Blues", "Moonlighting", "Simon & Simon",
"St. Elsewhere", "L.A. Law")
internal val AmericanaShows get() = (AmericanaMornings + AmericanaWesterns + AmericanaSitcoms + AmericanaPrimetime + AmericanaLate).distinct()
internal val AmericanaDayParts get() = listOf(
DayPart(6, 12, AmericanaMornings), DayPart(12, 17, AmericanaWesterns), DayPart(17, 20, AmericanaSitcoms),
DayPart(20, 23, AmericanaPrimetime), DayPart(23, 3, AmericanaLate), DayPart(3, 6, AmericanaSitcoms))
/** The serials run in story order; everything else stands alone and mixes. */
private val AmericanaInOrder = setOf("Dallas", "Falcon Crest", "Hill Street Blues", "St. Elsewhere", "L.A. Law", "Dr. Quinn, Medicine Woman")
internal val AmericanaMixed get() = AmericanaShows.toSet() - AmericanaInOrder
@@ -24,6 +24,7 @@ internal object ChannelBrands {
TOTS_NUMBER to ChannelBranding("orbit-tots", "Orbit Tots", R.drawable.orbit_tots_epg, R.drawable.orbit_one_background, R.drawable.orbit_tots_bug, ChannelCategory.Kids),
203 to ChannelBranding("orbit-wild", "Orbit Wild", R.drawable.orbit_wild_epg, R.drawable.orbit_one_background, R.drawable.orbit_wild_bug, ChannelCategory.Documentaries),
109 to ChannelBranding("orbit-signature", "Orbit Signature", R.drawable.orbit_signature_epg, R.drawable.orbit_signature_background, R.drawable.orbit_signature_bug, ChannelCategory.Entertainment),
AMERICANA_NUMBER to ChannelBranding("orbit-americana", "Americana", R.drawable.orbit_americana_epg, R.drawable.orbit_americana_background, R.drawable.orbit_americana_bug, ChannelCategory.Entertainment),
110 to ChannelBranding("orbit-unscripted", "Orbit Unscripted", R.drawable.orbit_unscripted_epg, R.drawable.orbit_unscripted_background, R.drawable.orbit_unscripted_bug, ChannelCategory.Entertainment),
CHRISTMAS_NUMBER to ChannelBranding("orbit-christmas", "Orbit Christmas", R.drawable.orbit_christmas_epg, R.drawable.orbit_christmas_background, R.drawable.orbit_christmas_bug, ChannelCategory.Movies),
205 to ChannelBranding("orbit-kitchen", "Orbit Kitchen", R.drawable.orbit_kitchen_epg, R.drawable.orbit_kitchen_background, R.drawable.orbit_kitchen_bug, ChannelCategory.Documentaries),
@@ -50,6 +50,8 @@ internal val ChannelPresets = listOf(
// Signature, Unscripted and Orbit Christmas (Paul, 6 November 2026).
ChannelPreset(109, "Orbit Signature", SignatureShows, smartOnly = true),
ChannelPreset(110, "Orbit Unscripted", UnscriptedShows, smartOnly = true),
// Americana (Paul, 23 November 2026): classic American television. See Americana.kt.
ChannelPreset(AMERICANA_NUMBER, "Americana", AmericanaShows, smartOnly = true),
ChannelPreset(CHRISTMAS_NUMBER, "Orbit Christmas", ChristmasFilms, smartOnly = true, films = true),
ChannelPreset(206, "Orbit Home", HomeShows, smartOnly = true),
ChannelPreset(108, "Orbit Play", PlayShows, smartOnly = true),
@@ -246,7 +246,7 @@ private val BuiltInChannels = listOf(
* other series channel since 5 November 2026 (Paul: part ones first, everywhere): weighted blocks book a story whole, and a
* mixed show in equal turns keeps it whole and in order in its deck.
*/
private val StoryGroupingChannels get() = setOf(101, 102, 103, 104, 105, 107, 108, 109, 110, 202, 203, 204, 205, 206, 401, 602, 603, 604, 605, 611)
private val StoryGroupingChannels get() = setOf(101, 102, 103, 104, 105, 107, 108, 109, 110, AMERICANA_NUMBER, 202, 203, 204, 205, 206, 401, 602, 603, 604, 605, 611)
/**
* Where a short series must keep at least half its tier's weight, so the hybrid trims its weekly repeats without cutting its
@@ -271,13 +271,13 @@ private val CatalogueScaledChannels get() = setOf(604, 204, 103, 202, 605)
private val SmartChannelMixed: Map<Int, Set<String>> get() = mapOf(101 to Orbit1Mixed, 102 to Orbit2Mixed, 103 to ThreeMixed, 104 to GoldMixed, 105 to RiotMixed,
602 to HeroesMixed, 603 to OrbitXMixed, 604 to RewindMixed, 605 to ToonZMixed,
203 to WildMixed, 202 to OdysseyMixed, 107 to EvidenceMixed, 611 to JuniorMixed,
205 to KitchenShows.toSet(), 206 to HomeShows.toSet(), 108 to PlayShows.toSet(), 110 to UnscriptedMixed)
205 to KitchenShows.toSet(), 206 to HomeShows.toSet(), 108 to PlayShows.toSet(), 110 to UnscriptedMixed, AMERICANA_NUMBER to AmericanaMixed)
/** Dark Files, from the programming bible: crime by day, mysteries early evening, the paranormal late. */
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)
109 to SignatureDayParts, 110 to UnscriptedDayParts, CHRISTMAS_NUMBER to ChristmasDayParts, AMERICANA_NUMBER to AmericanaDayParts)
/** 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(
@@ -64,6 +64,12 @@ internal val BaseBriefs: List<Brief> = listOf(
themes = w("cook", "chef", "kitchen", "bak", "recipe", "food", "restaurant", "cuisine", "dish", "eat"), against = w("murder", "killer", "crime", "dating"), era = 1985 to 2026),
Brief(206, "Orbit Home", setOf("Series"), setOf("Home and Garden"), setOf("Home and Garden"),
themes = w("home", "house", "property", "renovat", "makeover", "garden", "design", "build", "restor", "interior"), against = w("murder", "killer", "crime", "haunt"), era = 1985 to 2026),
// Paul, 23 November 2026: classic American television, the 50s to the early 90s: family shows, TV Westerns, sitcoms,
// primetime soaps and mysteries, cops and drama. American by origin; Orbit 1, Gold and Orbit 2 keep their own.
Brief(AMERICANA_NUMBER, "Americana", setOf("Series"), setOf("Comedy", "Drama", "Western", "Family", "Crime", "Mystery", "Soap"),
themes = w("family", "farm", "ranch", "small town", "frontier", "cowboy", "marshal", "sheriff", "sitcom", "neighbo", "oil", "detective", "private investigator",
"lawyer", "precinct", "cruise", "island"),
against = w("anime", "animated", "documentary", "reality", "british", "england", "london"), era = 1950 to 1995),
// Paul, 23 November 2026: the dedicated game-show and quiz channel, modern and international formats alongside the classics.
Brief(108, "Orbit Play", setOf("Series"), setOf("Game Show"), setOf("Game Show"),
themes = w("quiz", "game show", "contestant", "prize", "question", "puzzle", "challenge"), against = w("murder", "killer", "dating", "survivor"), era = 1960 to 2026, uk = true,
@@ -34,7 +34,7 @@ internal const val ONE_STREAM_HANDOVER_MS = 800L
internal const val IDENT_HOLD_MS = 6_000L
private const val IDENT_SHORTEST_PROGRAMME_MS = 3 * 60_000L
private val IdentVideos = mapOf(108 to R.raw.ident_108, 109 to R.raw.ident_109, 110 to R.raw.ident_110, CHRISTMAS_NUMBER to R.raw.ident_310, 205 to R.raw.ident_205, 206 to R.raw.ident_206, 101 to R.raw.ident_101, 102 to R.raw.ident_102, 103 to R.raw.ident_103, 104 to R.raw.ident_104, 105 to R.raw.ident_105, 106 to R.raw.ident_106, 107 to R.raw.ident_107,
private val IdentVideos = mapOf(AMERICANA_NUMBER to R.raw.ident_111, 108 to R.raw.ident_108, 109 to R.raw.ident_109, 110 to R.raw.ident_110, CHRISTMAS_NUMBER to R.raw.ident_310, 205 to R.raw.ident_205, 206 to R.raw.ident_206, 101 to R.raw.ident_101, 102 to R.raw.ident_102, 103 to R.raw.ident_103, 104 to R.raw.ident_104, 105 to R.raw.ident_105, 106 to R.raw.ident_106, 107 to R.raw.ident_107,
201 to R.raw.ident_201, 202 to R.raw.ident_202, 203 to R.raw.ident_203, 204 to R.raw.ident_204, 301 to R.raw.ident_301, 302 to R.raw.ident_302, 303 to R.raw.ident_303, 304 to R.raw.ident_304, 305 to R.raw.ident_305,
306 to R.raw.ident_306, 307 to R.raw.ident_307, 308 to R.raw.ident_308, 309 to R.raw.ident_309, 401 to R.raw.ident_401, 601 to R.raw.ident_601, 602 to R.raw.ident_602, 603 to R.raw.ident_603, 604 to R.raw.ident_604, 605 to R.raw.ident_605,
611 to R.raw.ident_611, 612 to R.raw.ident_612, 613 to R.raw.ident_613)