diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 1746c7aa..498837cc 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("org.jetbrains.kotlin.plugin.compose") } /** The release's build number: versionCode is this x 10 plus the edition's channel. */ -val ORBIT_BUILD = 58 +val ORBIT_BUILD = 59 android { namespace = "tv.orbit.classic" compileSdk = 36 diff --git a/android/app/src/main/java/tv/orbit/classic/BlockIdents.kt b/android/app/src/main/java/tv/orbit/classic/BlockIdents.kt index dcad70fb..5dfba799 100644 --- a/android/app/src/main/java/tv/orbit/classic/BlockIdents.kt +++ b/android/app/src/main/java/tv/orbit/classic/BlockIdents.kt @@ -57,15 +57,7 @@ internal val BlockIdents: Map = mapOf( "saturday.heroes" to BlockIdent(R.raw.block_saturday_heroes, R.raw.block_saturday_mornings_sting), "saturday.orbitx" to BlockIdent(R.raw.block_saturday_orbitx, R.raw.block_saturday_mornings_sting), "saturday.rewind" to BlockIdent(R.raw.block_saturday_rewind, R.raw.block_saturday_mornings_sting), - // The new identity (17 November 2026): each Ring X night has its own clip with its name and rope colour in it, so - // nothing is drawn over a shared one any more. - "ringx.monday" to BlockIdent(R.raw.block_ringx_monday, R.raw.block_ringx_nights_sting), - "ringx.tuesday" to BlockIdent(R.raw.block_ringx_tuesday, R.raw.block_ringx_nights_sting), - "ringx.wednesday" to BlockIdent(R.raw.block_ringx_wednesday, R.raw.block_ringx_nights_sting), - "ringx.thursday" to BlockIdent(R.raw.block_ringx_thursday, R.raw.block_ringx_nights_sting), - "ringx.friday" to BlockIdent(R.raw.block_ringx_friday, R.raw.block_ringx_nights_sting), - "ringx.saturday" to BlockIdent(R.raw.block_ringx_saturday, R.raw.block_ringx_nights_sting), -) +) + RingXNights.keys.associateWith { BlockIdent(R.raw.block_ringx_nights, R.raw.block_ringx_nights_sting, BlockOverlay.RingXNight) } /** Each channel's Sunday Mornings, for its Saturday Mornings key on a Sunday. */ private val SundayMornings = mapOf( diff --git a/android/app/src/main/res/raw/block_afterdark_bmovie.mp4 b/android/app/src/main/res/raw/block_afterdark_bmovie.mp4 index 689b4129..48dbcbc1 100644 Binary files a/android/app/src/main/res/raw/block_afterdark_bmovie.mp4 and b/android/app/src/main/res/raw/block_afterdark_bmovie.mp4 differ diff --git a/android/app/src/main/res/raw/block_afterdark_cult.mp4 b/android/app/src/main/res/raw/block_afterdark_cult.mp4 index 9fd7b575..0ce992e2 100644 Binary files a/android/app/src/main/res/raw/block_afterdark_cult.mp4 and b/android/app/src/main/res/raw/block_afterdark_cult.mp4 differ diff --git a/android/app/src/main/res/raw/block_afterdark_drivein.mp4 b/android/app/src/main/res/raw/block_afterdark_drivein.mp4 index 0ce1e837..4e337994 100644 Binary files a/android/app/src/main/res/raw/block_afterdark_drivein.mp4 and b/android/app/src/main/res/raw/block_afterdark_drivein.mp4 differ diff --git a/android/app/src/main/res/raw/block_gold_sunday.mp4 b/android/app/src/main/res/raw/block_gold_sunday.mp4 index 3893e9a4..b7eba9e1 100644 Binary files a/android/app/src/main/res/raw/block_gold_sunday.mp4 and b/android/app/src/main/res/raw/block_gold_sunday.mp4 differ diff --git a/android/app/src/main/res/raw/block_horror_slasher.mp4 b/android/app/src/main/res/raw/block_horror_slasher.mp4 index c7a3e24f..93a39e67 100644 Binary files a/android/app/src/main/res/raw/block_horror_slasher.mp4 and b/android/app/src/main/res/raw/block_horror_slasher.mp4 differ diff --git a/android/app/src/main/res/raw/block_orbit2_retro.mp4 b/android/app/src/main/res/raw/block_orbit2_retro.mp4 index 2b85f0b0..4a6099d0 100644 Binary files a/android/app/src/main/res/raw/block_orbit2_retro.mp4 and b/android/app/src/main/res/raw/block_orbit2_retro.mp4 differ diff --git a/android/app/src/main/res/raw/block_orbit2_spooky.mp4 b/android/app/src/main/res/raw/block_orbit2_spooky.mp4 index a68d5495..26422c97 100644 Binary files a/android/app/src/main/res/raw/block_orbit2_spooky.mp4 and b/android/app/src/main/res/raw/block_orbit2_spooky.mp4 differ diff --git a/android/app/src/main/res/raw/block_ringx_friday.mp4 b/android/app/src/main/res/raw/block_ringx_friday.mp4 deleted file mode 100644 index ee9393a4..00000000 Binary files a/android/app/src/main/res/raw/block_ringx_friday.mp4 and /dev/null differ diff --git a/android/app/src/main/res/raw/block_ringx_monday.mp4 b/android/app/src/main/res/raw/block_ringx_monday.mp4 deleted file mode 100644 index 10696de1..00000000 Binary files a/android/app/src/main/res/raw/block_ringx_monday.mp4 and /dev/null differ diff --git a/android/app/src/main/res/raw/block_ringx_nights.mp4 b/android/app/src/main/res/raw/block_ringx_nights.mp4 new file mode 100644 index 00000000..e508c4c3 Binary files /dev/null and b/android/app/src/main/res/raw/block_ringx_nights.mp4 differ diff --git a/android/app/src/main/res/raw/block_ringx_ppv.mp4 b/android/app/src/main/res/raw/block_ringx_ppv.mp4 index 90522719..42c35291 100644 Binary files a/android/app/src/main/res/raw/block_ringx_ppv.mp4 and b/android/app/src/main/res/raw/block_ringx_ppv.mp4 differ diff --git a/android/app/src/main/res/raw/block_ringx_saturday.mp4 b/android/app/src/main/res/raw/block_ringx_saturday.mp4 deleted file mode 100644 index bf565ae7..00000000 Binary files a/android/app/src/main/res/raw/block_ringx_saturday.mp4 and /dev/null differ diff --git a/android/app/src/main/res/raw/block_ringx_thursday.mp4 b/android/app/src/main/res/raw/block_ringx_thursday.mp4 deleted file mode 100644 index 8a353ff9..00000000 Binary files a/android/app/src/main/res/raw/block_ringx_thursday.mp4 and /dev/null differ diff --git a/android/app/src/main/res/raw/block_ringx_tuesday.mp4 b/android/app/src/main/res/raw/block_ringx_tuesday.mp4 deleted file mode 100644 index 5c0d10b7..00000000 Binary files a/android/app/src/main/res/raw/block_ringx_tuesday.mp4 and /dev/null differ diff --git a/android/app/src/main/res/raw/block_ringx_wednesday.mp4 b/android/app/src/main/res/raw/block_ringx_wednesday.mp4 deleted file mode 100644 index c54202d8..00000000 Binary files a/android/app/src/main/res/raw/block_ringx_wednesday.mp4 and /dev/null differ diff --git a/android/app/src/main/res/raw/block_saturday_heroes.mp4 b/android/app/src/main/res/raw/block_saturday_heroes.mp4 index 2ba87126..940c9213 100644 Binary files a/android/app/src/main/res/raw/block_saturday_heroes.mp4 and b/android/app/src/main/res/raw/block_saturday_heroes.mp4 differ diff --git a/android/app/src/main/res/raw/block_saturday_orbitx.mp4 b/android/app/src/main/res/raw/block_saturday_orbitx.mp4 index 24b92b85..278832a6 100644 Binary files a/android/app/src/main/res/raw/block_saturday_orbitx.mp4 and b/android/app/src/main/res/raw/block_saturday_orbitx.mp4 differ diff --git a/android/app/src/main/res/raw/block_saturday_rewind.mp4 b/android/app/src/main/res/raw/block_saturday_rewind.mp4 index a7138256..f8adba76 100644 Binary files a/android/app/src/main/res/raw/block_saturday_rewind.mp4 and b/android/app/src/main/res/raw/block_saturday_rewind.mp4 differ diff --git a/android/app/src/main/res/raw/block_sunday_heroes.mp4 b/android/app/src/main/res/raw/block_sunday_heroes.mp4 index be9640c8..a4965eaa 100644 Binary files a/android/app/src/main/res/raw/block_sunday_heroes.mp4 and b/android/app/src/main/res/raw/block_sunday_heroes.mp4 differ diff --git a/android/app/src/main/res/raw/block_sunday_orbitx.mp4 b/android/app/src/main/res/raw/block_sunday_orbitx.mp4 index c0543523..d1e4d10e 100644 Binary files a/android/app/src/main/res/raw/block_sunday_orbitx.mp4 and b/android/app/src/main/res/raw/block_sunday_orbitx.mp4 differ diff --git a/android/app/src/main/res/raw/block_sunday_rewind.mp4 b/android/app/src/main/res/raw/block_sunday_rewind.mp4 index 12e6441b..213e6ef2 100644 Binary files a/android/app/src/main/res/raw/block_sunday_rewind.mp4 and b/android/app/src/main/res/raw/block_sunday_rewind.mp4 differ diff --git a/android/app/src/main/res/raw/block_terra_sunday.mp4 b/android/app/src/main/res/raw/block_terra_sunday.mp4 index 59da62e6..2cfac393 100644 Binary files a/android/app/src/main/res/raw/block_terra_sunday.mp4 and b/android/app/src/main/res/raw/block_terra_sunday.mp4 differ diff --git a/android/app/src/main/res/raw/block_three_scottish.mp4 b/android/app/src/main/res/raw/block_three_scottish.mp4 index dfae61b2..19b75377 100644 Binary files a/android/app/src/main/res/raw/block_three_scottish.mp4 and b/android/app/src/main/res/raw/block_three_scottish.mp4 differ diff --git a/android/app/src/main/res/raw/block_vortex_afterburn.mp4 b/android/app/src/main/res/raw/block_vortex_afterburn.mp4 index fc97d62b..13c0963f 100644 Binary files a/android/app/src/main/res/raw/block_vortex_afterburn.mp4 and b/android/app/src/main/res/raw/block_vortex_afterburn.mp4 differ diff --git a/android/app/src/main/res/raw/block_vortex_movie.mp4 b/android/app/src/main/res/raw/block_vortex_movie.mp4 index d772a139..9de82262 100644 Binary files a/android/app/src/main/res/raw/block_vortex_movie.mp4 and b/android/app/src/main/res/raw/block_vortex_movie.mp4 differ diff --git a/android/app/src/main/res/raw/block_vortex_premiere.mp4 b/android/app/src/main/res/raw/block_vortex_premiere.mp4 index 73362397..80386b7b 100644 Binary files a/android/app/src/main/res/raw/block_vortex_premiere.mp4 and b/android/app/src/main/res/raw/block_vortex_premiere.mp4 differ diff --git a/android/app/src/main/res/raw/block_vortex_prime.mp4 b/android/app/src/main/res/raw/block_vortex_prime.mp4 index 481d1cef..945f7a42 100644 Binary files a/android/app/src/main/res/raw/block_vortex_prime.mp4 and b/android/app/src/main/res/raw/block_vortex_prime.mp4 differ diff --git a/android/app/src/main/res/raw/ident_101.mp4 b/android/app/src/main/res/raw/ident_101.mp4 index 7a7645ec..105db319 100644 Binary files a/android/app/src/main/res/raw/ident_101.mp4 and b/android/app/src/main/res/raw/ident_101.mp4 differ diff --git a/android/app/src/main/res/raw/ident_102.mp4 b/android/app/src/main/res/raw/ident_102.mp4 index c0a1adfb..13ed49d2 100644 Binary files a/android/app/src/main/res/raw/ident_102.mp4 and b/android/app/src/main/res/raw/ident_102.mp4 differ diff --git a/android/app/src/main/res/raw/ident_103.mp4 b/android/app/src/main/res/raw/ident_103.mp4 index 6efcf3bf..408e7b7a 100644 Binary files a/android/app/src/main/res/raw/ident_103.mp4 and b/android/app/src/main/res/raw/ident_103.mp4 differ diff --git a/android/app/src/main/res/raw/ident_104.mp4 b/android/app/src/main/res/raw/ident_104.mp4 index 9663d238..dc33f6d3 100644 Binary files a/android/app/src/main/res/raw/ident_104.mp4 and b/android/app/src/main/res/raw/ident_104.mp4 differ diff --git a/android/app/src/main/res/raw/ident_106.mp4 b/android/app/src/main/res/raw/ident_106.mp4 index 4d8d3d30..7b7d6962 100644 Binary files a/android/app/src/main/res/raw/ident_106.mp4 and b/android/app/src/main/res/raw/ident_106.mp4 differ diff --git a/android/app/src/main/res/raw/ident_107.mp4 b/android/app/src/main/res/raw/ident_107.mp4 index 871120a3..917de48f 100644 Binary files a/android/app/src/main/res/raw/ident_107.mp4 and b/android/app/src/main/res/raw/ident_107.mp4 differ diff --git a/android/app/src/main/res/raw/ident_201.mp4 b/android/app/src/main/res/raw/ident_201.mp4 index 05a4b984..45ace9c4 100644 Binary files a/android/app/src/main/res/raw/ident_201.mp4 and b/android/app/src/main/res/raw/ident_201.mp4 differ diff --git a/android/app/src/main/res/raw/ident_202.mp4 b/android/app/src/main/res/raw/ident_202.mp4 index a1228973..eb42f6a4 100644 Binary files a/android/app/src/main/res/raw/ident_202.mp4 and b/android/app/src/main/res/raw/ident_202.mp4 differ diff --git a/android/app/src/main/res/raw/ident_203.mp4 b/android/app/src/main/res/raw/ident_203.mp4 index 31de7727..6bfe09a0 100644 Binary files a/android/app/src/main/res/raw/ident_203.mp4 and b/android/app/src/main/res/raw/ident_203.mp4 differ diff --git a/android/app/src/main/res/raw/ident_204.mp4 b/android/app/src/main/res/raw/ident_204.mp4 index aacb9159..84b84aae 100644 Binary files a/android/app/src/main/res/raw/ident_204.mp4 and b/android/app/src/main/res/raw/ident_204.mp4 differ diff --git a/android/app/src/main/res/raw/ident_301.mp4 b/android/app/src/main/res/raw/ident_301.mp4 index 48c3a26b..d5a5e052 100644 Binary files a/android/app/src/main/res/raw/ident_301.mp4 and b/android/app/src/main/res/raw/ident_301.mp4 differ diff --git a/android/app/src/main/res/raw/ident_302.mp4 b/android/app/src/main/res/raw/ident_302.mp4 index d9bd64f0..95b01b28 100644 Binary files a/android/app/src/main/res/raw/ident_302.mp4 and b/android/app/src/main/res/raw/ident_302.mp4 differ diff --git a/android/app/src/main/res/raw/ident_303.mp4 b/android/app/src/main/res/raw/ident_303.mp4 index 77b63785..bad93c9f 100644 Binary files a/android/app/src/main/res/raw/ident_303.mp4 and b/android/app/src/main/res/raw/ident_303.mp4 differ diff --git a/android/app/src/main/res/raw/ident_304.mp4 b/android/app/src/main/res/raw/ident_304.mp4 index 1bc1521d..7575fee7 100644 Binary files a/android/app/src/main/res/raw/ident_304.mp4 and b/android/app/src/main/res/raw/ident_304.mp4 differ diff --git a/android/app/src/main/res/raw/ident_305.mp4 b/android/app/src/main/res/raw/ident_305.mp4 index bae28872..79884e2c 100644 Binary files a/android/app/src/main/res/raw/ident_305.mp4 and b/android/app/src/main/res/raw/ident_305.mp4 differ diff --git a/android/app/src/main/res/raw/ident_307.mp4 b/android/app/src/main/res/raw/ident_307.mp4 index c8029b3c..2b3278b2 100644 Binary files a/android/app/src/main/res/raw/ident_307.mp4 and b/android/app/src/main/res/raw/ident_307.mp4 differ diff --git a/android/app/src/main/res/raw/ident_308.mp4 b/android/app/src/main/res/raw/ident_308.mp4 index 16057130..46e31e00 100644 Binary files a/android/app/src/main/res/raw/ident_308.mp4 and b/android/app/src/main/res/raw/ident_308.mp4 differ diff --git a/android/app/src/main/res/raw/ident_309.mp4 b/android/app/src/main/res/raw/ident_309.mp4 index b08efe38..c6d6c50d 100644 Binary files a/android/app/src/main/res/raw/ident_309.mp4 and b/android/app/src/main/res/raw/ident_309.mp4 differ diff --git a/android/app/src/main/res/raw/ident_310.mp4 b/android/app/src/main/res/raw/ident_310.mp4 index 94a9a6b6..5d47f7dc 100644 Binary files a/android/app/src/main/res/raw/ident_310.mp4 and b/android/app/src/main/res/raw/ident_310.mp4 differ diff --git a/android/app/src/main/res/raw/ident_401.mp4 b/android/app/src/main/res/raw/ident_401.mp4 index 3bf599ac..98808d30 100644 Binary files a/android/app/src/main/res/raw/ident_401.mp4 and b/android/app/src/main/res/raw/ident_401.mp4 differ diff --git a/android/app/src/main/res/raw/ident_601.mp4 b/android/app/src/main/res/raw/ident_601.mp4 index 248a4640..d3fb9b59 100644 Binary files a/android/app/src/main/res/raw/ident_601.mp4 and b/android/app/src/main/res/raw/ident_601.mp4 differ diff --git a/android/app/src/main/res/raw/ident_602.mp4 b/android/app/src/main/res/raw/ident_602.mp4 index 2666596c..0b002c1f 100644 Binary files a/android/app/src/main/res/raw/ident_602.mp4 and b/android/app/src/main/res/raw/ident_602.mp4 differ diff --git a/android/app/src/main/res/raw/ident_603.mp4 b/android/app/src/main/res/raw/ident_603.mp4 index 490b9ea5..177fecd9 100644 Binary files a/android/app/src/main/res/raw/ident_603.mp4 and b/android/app/src/main/res/raw/ident_603.mp4 differ diff --git a/android/app/src/main/res/raw/ident_611.mp4 b/android/app/src/main/res/raw/ident_611.mp4 index 4b925e36..508ae65a 100644 Binary files a/android/app/src/main/res/raw/ident_611.mp4 and b/android/app/src/main/res/raw/ident_611.mp4 differ diff --git a/android/app/src/main/res/raw/ident_612.mp4 b/android/app/src/main/res/raw/ident_612.mp4 index cefd55f4..e2c24414 100644 Binary files a/android/app/src/main/res/raw/ident_612.mp4 and b/android/app/src/main/res/raw/ident_612.mp4 differ diff --git a/android/app/src/main/res/raw/ident_613.mp4 b/android/app/src/main/res/raw/ident_613.mp4 index 9f8b0300..08e08d96 100644 Binary files a/android/app/src/main/res/raw/ident_613.mp4 and b/android/app/src/main/res/raw/ident_613.mp4 differ diff --git a/android/app/src/test/java/tv/orbit/classic/PresentationTest.kt b/android/app/src/test/java/tv/orbit/classic/PresentationTest.kt index 76a8e7aa..63818149 100644 --- a/android/app/src/test/java/tv/orbit/classic/PresentationTest.kt +++ b/android/app/src/test/java/tv/orbit/classic/PresentationTest.kt @@ -103,12 +103,11 @@ class PresentationTest { assertTrue(BlockIdents.keys.none { it.startsWith("drivein.") || it.startsWith("premiere.") || it.startsWith("themed.") }) } - /** The new identity (17 November 2026): each night is its own clip with its name in it, nothing drawn over it. */ - @Test fun ringXNightsEachHaveTheirOwnClip() { - val nights = BlockIdents.filterKeys { it in RingXNights } + @Test fun ringXNightsShareOneClipAndEachHasItsName() { + val nights = BlockIdents.filterValues { it.overlay == BlockOverlay.RingXNight } assertEquals(6, nights.size) - assertEquals(6, nights.values.map { it.video }.toSet().size) - assertTrue(nights.values.all { it.overlay == BlockOverlay.None }) + assertEquals(1, nights.values.map { it.video }.toSet().size) + nights.keys.forEach { assertNotNull(RingXNights[it]) } } @Test fun thePpvLowerThirdUsesTheBookedTitleAndNothingIfThereIsNone() { diff --git a/tools/import-brand-kit.py b/tools/import-brand-kit.py index 14e1e252..71190a04 100644 --- a/tools/import-brand-kit.py +++ b/tools/import-brand-kit.py @@ -90,8 +90,9 @@ def main(): ident(os.path.join(KIT, "channels", slug, f"{slug}-ident.mp4"), f"res/raw/ident_{name}.mp4") ident(os.path.join(KIT, "channels", "orbit-drive-in", "orbit-drive-in-ident.mp4"), "res/raw/drive_in_intro.mp4") print(f"idents: {len(idents) + 6}, with the Drive-In intro") - # Block and event idents: rendered by the kit's source/block-render.js from source/blocks.json, 4 s, silent (each has a sting). - blocks = sorted(f for f in os.listdir(need(os.path.join(KIT, "blocks"))) if f.endswith(".mp4")) + # Riot's block idents: rendered by the kit's source/block-render.js from source/blocks.json, 4 s, silent (each has a + # sting). The other blocks keep their Blender scenes with the new logo: tools/import-planet-o-idents.sh, run after this. + blocks = sorted(f for f in os.listdir(need(os.path.join(KIT, "blocks"))) if f.startswith("block_riot_") and f.endswith(".mp4")) for f in blocks: run("cp", os.path.join(KIT, "blocks", f), os.path.join(RES, "raw", f)) print(f"block idents: {len(blocks)}") diff --git a/tools/import-planet-o-idents.sh b/tools/import-planet-o-idents.sh new file mode 100644 index 00000000..015e4d4c --- /dev/null +++ b/tools/import-planet-o-idents.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# Run after tools/import-brand-kit.py (Paul, 17 November 2026: keep the Blender and 2D idents, "just replace the logo on +# top"). Puts back the Blender channel idents and block idents, re-made with the new Planet O logo on their own kept +# scenes, over the kit's flat ones. Built under channel-designs/revisions/planet-o (recompose.sh for the channel idents, +# work/ for the blocks, sat-work/ for Saturday and Sunday Mornings). Riot's blocks keep the kit's flat versions: their +# logo is the scene. +set -euo pipefail +P=${PLANET_O:-$HOME/Documents/OrbitTV/channel-designs/revisions/planet-o}; RAW=$(cd "$(dirname "$0")/.." && pwd)/android/app/src/main/res/raw +cp "$P"/app-raw/ident_*.mp4 "$RAW"/ +W=$P/work; S=$P/sat-work/design/channels/saturday-mornings/exports +while read -r src dst; do cp "$src" "$RAW/$dst.mp4"; done <