diff --git a/android/app/src/main/assets/phone/companion.html b/android/app/src/main/assets/phone/companion.html index 8b9c25b4..aa13667e 100644 --- a/android/app/src/main/assets/phone/companion.html +++ b/android/app/src/main/assets/phone/companion.html @@ -186,8 +186,7 @@ function guide() { const f = cats.includes(state.filter) ? state.filter : 'all', list = g.channels.filter(c => f === 'all' || c.category === f); const chips = `
${cats.map(k => ``).join('')}
`; if (f === 'Drive-In') return head('Guide') + chips + driveIn(); - const times = `Orbit TV Times · the week's listings, picks and films ›`; - return head('Guide') + times + chips + + return head('Guide') + chips + (list.map(c => ``).join('') || '
No channels here.
'); @@ -197,8 +196,7 @@ function pickSheet(n) { return `
${esc(c.now.title)}
${c.number} ${esc(c.name)} · Live now · ends ${hm(c.now.endMs)}${c.now.sub ? ' · ' + esc(c.now.sub) : ''}
Watching on: ${esc(state.now?.room || 'this TV')}
-
Queue next switches to ${c.number} ${esc(c.name)} when the programme on the TV ends. Next on it at ${hm(c.next.startMs)}: ${esc(c.next.title)}
- `; +
Queue next switches to ${c.number} ${esc(c.name)} when the programme on the TV ends. Next on it at ${hm(c.next.startMs)}: ${esc(c.next.title)}
`; } // The Drive-In (phase 2): the coming bills, tickets, and out to the lot while one is showing. function driveIn() { @@ -854,7 +852,6 @@ document.addEventListener('click', e => { if (d.filter) { state.filter = d.filter; render(); } if (d.pick) openSheet(pickSheet(+d.pick)); if (d.tune) send('/api/tune', {number: +d.tune}, () => { closeSheet(); toast('Watching on the TV'); setTimeout(() => load('guide'), 700); }); - if (d.remind) { const [number, startMs, on] = d.remind.split(':').map(Number); send('/api/remind', {number, startMs, on: !!on}, () => { closeSheet(); setTimeout(() => load('guide'), 400); toast(on ? 'The TV will remind you before it starts' : 'Reminder taken off'); }); return; } if (d.queue) send('/api/queue', {number: +d.queue}, j => { state.now = {...state.now, queue: j.queue}; closeSheet(); toast('Queued: switches when this one ends'); }); if (d.cupick) { const [n, st] = d.cupick.split(':').map(Number); openSheet(cuSheet(n, st)); return; } if (d.cuq) { const [number, startMs] = d.cuq.split(':').map(Number); send('/api/queue', {number, startMs}, j => { state.now = {...state.now, queue: j.queue}; closeSheet(); render(); toast('Queued for when this one ends'); }); return; } diff --git a/android/app/src/main/assets/phone/times.html b/android/app/src/main/assets/phone/times.html deleted file mode 100644 index e139ce7f..00000000 --- a/android/app/src/main/assets/phone/times.html +++ /dev/null @@ -1,82 +0,0 @@ - - -Orbit TV Times - - -
ORBIT TV Times THE WEEK'S PROGRAMMES · EVERY CHANNEL FREE WITH YOUR ORBIT PICKS · FILMS · DRIVE-IN
-
‹ Back to Orbit
-
-
Loading this week's listings…
- - diff --git a/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt b/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt index fbf41d8b..b1d3b0c6 100644 --- a/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt +++ b/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt @@ -703,12 +703,6 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea if (offset == 0L) liveHandoff.handOver(number) channelClockOffset = offset; watchingChannel = true } - /** Carries on a Continue watching programme from where it was left, from Catch Up or Home, while it's still in Catch Up. */ - fun resumeContinue(c: ContinueEntry) { - if (c.entry.show.startMs < System.currentTimeMillis() - CATCH_UP_MS || lockedOut(c.entry.channel.number) || profileHides(c.entry.channel.number)) return - tune(c.entry.channel.number, c.entry.show.startMs + c.positionMs - System.currentTimeMillis()) - Taste.record(TasteKind.Chose, c.entry.show.media.item.id, (c.entry.channel as? ScheduledChannel)?.seriesIdAt(c.entry.show.startMs), c.entry.show.media.item.title, c.entry.channel.number, "continue") - } // Orbit Companion: the channels this TV shows right now, and tuning as the guide does. Set here, before any screen // returns early, so the phone works from every section (the Drive-In and the Arcade go to the guide to tune). val shownChannels by rememberUpdatedState(availableChannels.filter { !lockedOut(it.number) && !profileHides(it.number) }) @@ -722,11 +716,6 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea val companionBills by rememberUpdatedState(driveInPlan.takeIf { Profiles.current?.let { it.kind != ProfileKind.Kids || it.driveIn } ?: true } ?.let { plan -> driveInLineup(driveInBills(plan), System.currentTimeMillis()).filter { !lockedOut(it) } }.orEmpty()) val companionDriveIn by rememberUpdatedState(mainDriveIn) - val companionReminders by rememberUpdatedState(reminders) - val companionRemind by rememberUpdatedState { number: Int, startMs: Long, title: String, on: Boolean -> - val kept = liveReminders(reminders, System.currentTimeMillis()).filterNot { it.channel == number && it.startMs == startMs } - saveReminders(if (on) kept + ProgrammeReminder(number, startMs, title) else kept) - } val companionScreen = remember { CompanionScreen(channels = { shownChannels }, selected = { selectedNumber }, watching = { watchingChannel }, offset = { channelClockOffset }, tune = { n, offset -> companionTune(n, offset) }, driveIn = { companionBills }, tickets = { companionTickets.keys }, @@ -747,8 +736,7 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea decision == "approved" -> "${idea.theme} approved for ${idea.evening}. It books once the Drive-In plans that evening, after its films are checked again." decision == "deferred" -> "${idea.theme} deferred: it can come back in four weeks." else -> "${idea.theme} dismissed: it won't be proposed again unless its films change." } - }, - reminders = { companionReminders }, remind = { number, startMs, title, on -> companionRemind(number, startMs, title, on) }) + }) } DisposableEffect(Unit) { PhoneLink.screen = companionScreen @@ -808,10 +796,12 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea } val picture = @Composable { GuidePicture(liveSession, liveChannel, live = !watchingChannel, handoff = liveHandoff, onUnplayable = ::rememberUnplayable) } when { - mainHome -> HomeScreen(availableChannels, modifier, onCategory = { guideCategory = it; onGuide() }, - carryOn = continueEntries(availableChannels.filter { !lockedOut(it.number) && !profileHides(it.number) }, ContinueWatching.marks, System.currentTimeMillis()), onResume = ::resumeContinue) + mainHome -> HomeScreen(availableChannels, modifier, onCategory = { guideCategory = it; onGuide() }) mainCatchUp -> CatchUpScreen(availableChannels, liveSession, modifier, onOpen = { catchUpOpen = it }, - onResume = ::resumeContinue) + onResume = { c -> if (c.entry.show.startMs >= System.currentTimeMillis() - CATCH_UP_MS) { + tune(c.entry.channel.number, c.entry.show.startMs + c.positionMs - System.currentTimeMillis()) + Taste.record(TasteKind.Chose, c.entry.show.media.item.id, (c.entry.channel as? ScheduledChannel)?.seriesIdAt(c.entry.show.startMs), c.entry.show.media.item.title, c.entry.channel.number, "continue") + } }) mainWhatsOn -> WhatsOnScreen(liveSession, scheduledChannels.filterKeys { !lockedOut(it) && !profileHides(it) }.mapValues { it.value.plan }, driveInPlan.takeIf { Profiles.current?.let { it.kind != ProfileKind.Kids || it.driveIn } ?: true }, modifier, reminders, onWatch = { tune(it, 0) }, onDriveIn = onDriveIn, onBack = onHome, diff --git a/android/app/src/main/java/tv/orbit/classic/HomeScreen.kt b/android/app/src/main/java/tv/orbit/classic/HomeScreen.kt index 2a2780b3..53095759 100644 --- a/android/app/src/main/java/tv/orbit/classic/HomeScreen.kt +++ b/android/app/src/main/java/tv/orbit/classic/HomeScreen.kt @@ -32,9 +32,6 @@ internal enum class ChannelCategory(val label: String, val icon: Int) { } /** All Channels, then only the categories that have a channel in them. */ -/** Continue watching rows on Home; the rest are in Catch Up. */ -internal const val HOME_CONTINUE_MAX = 3 - internal fun homeCategories(numbers: List): List { val used = numbers.mapNotNull { ChannelBrands.forNumber(it)?.category }.toSet() return ChannelCategory.entries.filter { it == ChannelCategory.All || it in used } @@ -71,9 +68,7 @@ internal fun HomeCard(modifier: Modifier = Modifier, focusRequester: FocusReques * Guide on that category. What's On holds the evening's highlights. */ @Composable -internal fun HomeScreen(channels: List, modifier: Modifier = Modifier, onCategory: (ChannelCategory) -> Unit, - /** Continue watching, newest first (Paul, 8 November 2026): one press back into a half-watched programme. */ - carryOn: List = emptyList(), onResume: (ContinueEntry) -> Unit = {}) { +internal fun HomeScreen(channels: List, modifier: Modifier = Modifier, onCategory: (ChannelCategory) -> Unit) { val firstFocus = remember { FocusRequester() } val nav = LocalNavFocus.current LaunchedEffect(Unit) { runCatching { firstFocus.requestFocus() } } @@ -92,23 +87,6 @@ internal fun HomeScreen(channels: List, modifier: Modifier = Modi } } } } - // Words only, no pictures, so Home stays as quick as it is. - if (carryOn.isNotEmpty()) { - Spacer(Modifier.height(14.dp)) - Text("CONTINUE WATCHING", Modifier.width(400.dp), color = Yellow, fontFamily = Anton, fontSize = 13.sp) - Spacer(Modifier.height(4.dp)) - CompositionLocalProvider(LocalGlide provides glide) { Column(Modifier.width(400.dp).glideArea(glide, Yellow, 6.dp), verticalArrangement = Arrangement.spacedBy(4.dp)) { - carryOn.take(HOME_CONTINUE_MAX).forEach { c -> - HomeCard(Modifier.fillMaxWidth().height(31.dp), onClick = { onResume(c) }) { focused -> - Row(Modifier.fillMaxSize().padding(horizontal = 16.dp), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(10.dp)) { - Text(guideTitle(c.entry.channel.number, c.entry.show).first, Modifier.weight(1f), color = if (focused) OnAccent else Ink, fontSize = 14.sp, - fontWeight = FontWeight.SemiBold, maxLines = 1, overflow = androidx.compose.ui.text.style.TextOverflow.Ellipsis) - Text(leftLabel(c.leftMs), color = if (focused) OnAccent else Muted, fontSize = 12.sp, maxLines = 1) - } - } - } - } } - } Spacer(Modifier.height(14.dp)) Text("Tonight's Pick and the evening's highlights are in What's On", color = Muted, fontSize = 11.sp) Spacer(Modifier.weight(1f)) diff --git a/android/app/src/main/java/tv/orbit/classic/OrbitCompanion.kt b/android/app/src/main/java/tv/orbit/classic/OrbitCompanion.kt index f4fa0a5c..95d71070 100644 --- a/android/app/src/main/java/tv/orbit/classic/OrbitCompanion.kt +++ b/android/app/src/main/java/tv/orbit/classic/OrbitCompanion.kt @@ -45,10 +45,7 @@ internal class CompanionScreen( val director: () -> DeskReport? = { null }, val place: (ChairChoice, Int) -> Unit = { _, _ -> }, val drop: (ChairChoice) -> Unit = {}, - val decideIdea: (DeskEventIdea, String) -> String = { _, _ -> "" }, - /** Programme reminders, the same ones the TV guide and What's On set (8 November 2026). */ - val reminders: () -> List = { emptyList() }, - val remind: (number: Int, startMs: Long, title: String, on: Boolean) -> Unit = { _, _, _, _ -> }) + val decideIdea: (DeskEventIdea, String) -> String = { _, _ -> "" }) /** * Phase 2's queue (Paul, 6 November 2026): what plays when the programme on now ends. A channel, live from then ("switch @@ -141,28 +138,18 @@ internal object OrbitCompanion { /** Every channel's now and next. */ fun guide(screen: CompanionScreen, nowMs: Long): JSONObject = JSONObject().put("selected", screen.selected()).put("serverMs", nowMs).put("channels", JSONArray(screen.channels().map { c -> val on = c.at(nowMs) - channelJson(c).put("category", ChannelBrands.forNumber(c.number)?.category?.label ?: JSONObject.NULL).put("now", programme(on)).put("next", programme(c.at(on.endMs)).let { next -> - next.put("reminded", screen.reminders().any { it.channel == c.number && it.startMs == next.getLong("startMs") }) }) })) + channelJson(c).put("category", ChannelBrands.forNumber(c.number)?.category?.label ?: JSONObject.NULL).put("now", programme(on)).put("next", programme(c.at(on.endMs))) })) fun catchUp(screen: CompanionScreen, nowMs: Long): JSONArray = JSONArray(catchUpShelves(screen.channels(), nowMs).map { shelf -> JSONObject().put("title", shelf.title).put("entries", JSONArray(shelf.entries.map { e -> programme(e.show).put("number", e.channel.number).put("channel", e.channel.name).put("continues", e.continues) })) }) - /** A reminder from the phone, for a programme still to come on a channel this TV shows; false when there's no such programme. */ - fun remind(screen: CompanionScreen, number: Int, startMs: Long, on: Boolean, nowMs: Long): Boolean { - val c = screen.channels().firstOrNull { it.number == number } ?: return false - val show = runCatching { c.at(startMs) }.getOrNull()?.takeIf { it.startMs == startMs && it.startMs > nowMs } ?: return false - screen.remind(number, startMs, guideTitle(number, show).first, on); return true - } - /** The Catch Up programme the phone chose, only if it's still in Catch Up on a channel this TV shows. */ fun catchUpEntry(screen: CompanionScreen, number: Int, startMs: Long, nowMs: Long): CatchUpEntry? = catchUpShelves(screen.channels(), nowMs).flatMap { it.entries }.firstOrNull { it.channel.number == number && it.show.startMs == startMs } const val QUEUE_MAX = 5 - const val TIMES_DAYS = 7 - const val TIMES_FILMS = 12 /** How long before the programme's end the queue takes over. */ const val QUEUE_LEAD_MS = 2_500L var queue by mutableStateOf>(emptyList()) @@ -222,42 +209,6 @@ internal object OrbitCompanion { }) } - /** - * Orbit TV Times (Paul, 8 November 2026): the week ahead as a listings magazine, from the real schedules. Each day is - * What's On's choice for that evening (its pick and highlights), the evening's films across the channels, and the - * Drive-In's bills, only for the channels this TV shows now (Kids' own, and After Dark only while unlocked). - */ - fun times(screen: CompanionScreen, nowMs: Long, zone: java.time.ZoneId = java.time.ZoneId.systemDefault()): JSONObject { - val channels = screen.channels() - val plans = channels.mapNotNull { c -> (c as? ScheduledChannel)?.let { c.number to it.plan } }.toMap() - val names = channels.associate { it.number to ChannelBrands.displayName(it) } - fun item(channel: Int, e: ScheduleEntry, tag: String?, reason: String?) = guideTitleParts(e.media.item.title).let { (title, sub) -> - JSONObject().put("channel", channel).put("name", names[channel] ?: channel.toString()).put("title", title).put("sub", sub ?: JSONObject.NULL) - .put("startMs", e.startMs).put("endMs", e.endMs).put("type", e.media.item.type) - .put("tag", tag ?: JSONObject.NULL).put("reason", reason ?: JSONObject.NULL) - } - val first = whatsOnEdition(nowMs, zone) - val days = JSONArray() - for (d in 0 until TIMES_DAYS) { - val date = first.plusDays(d.toLong()) - val noon = maxOf(nowMs, date.atTime(12, 0).atZone(zone).toInstant().toEpochMilli()) - val evening = date.atTime(18, 0).atZone(zone).toInstant().toEpochMilli(); val night = date.plusDays(1).atTime(0, 0).atZone(zone).toInstant().toEpochMilli() - val end = date.plusDays(1).atTime(6, 0).atZone(zone).toInstant().toEpochMilli() - val page = whatsOnPage(plans, null, noon, zone) - val films = plans.flatMap { (n, plan) -> plan.entries.filter { it.media.item.type == "Movie" && it.startMs in evening until night && !kidsAsleep(takeoverOf(n, it, zone)) }.map { n to it } } - .sortedBy { it.second.startMs }.distinctBy { it.second.media.item.id }.take(TIMES_FILMS) - val bills = screen.driveIn().filter { it.startMs in noon until end } - if (page.pick == null && page.tonight.isEmpty() && films.isEmpty() && bills.isEmpty()) continue - days.put(JSONObject().put("date", date.toString()).put("noonMs", noon) - .put("pick", page.pick?.let { item(it.channel, it.entry, it.tag, it.reason) } ?: JSONObject.NULL) - .put("highlights", JSONArray(page.tonight.map { item(it.channel, it.entry, it.tag, it.reason) })) - .put("films", JSONArray(films.map { (n, e) -> item(n, e, null, null) })) - .put("drivein", JSONArray(bills.map { b -> JSONObject().put("kind", b.kind.label).put("event", b.event ?: JSONObject.NULL).put("startMs", b.startMs).put("endMs", b.endMs) - .put("films", JSONArray(b.entries.map { guideTitleParts(it.media.item.title).first })) }))) - } - return JSONObject().put("generatedMs", nowMs).put("room", Rooms.name).put("days", days) - } - // --- Phase 3: Director approvals and profiles. --- private fun choiceJson(c: ChairChoice) = JSONObject().put("id", c.id).put("title", c.title).put("type", c.type).put("year", c.year ?: JSONObject.NULL) .put("line", c.line).put("ask", c.ask).put("options", JSONArray(c.options.map { JSONObject().put("number", it.number).put("name", it.name).put("reason", it.reason) })) diff --git a/android/app/src/main/java/tv/orbit/classic/PhoneLink.kt b/android/app/src/main/java/tv/orbit/classic/PhoneLink.kt index 41c54de1..b3a1a5a5 100644 --- a/android/app/src/main/java/tv/orbit/classic/PhoneLink.kt +++ b/android/app/src/main/java/tv/orbit/classic/PhoneLink.kt @@ -241,7 +241,6 @@ internal object PhoneLink { phone == null -> page(out, PhonePages.join(null)) r.path == "/" -> page(out, PhonePages.companion()) r.path == "/create" -> page(out, PhonePages.app()) - r.path == "/times" -> page(out, PhonePages.times()) r.method == "POST" && r.headers["x-orbit"] != "1" -> json(out, 403, JSONObject().put("error", "Refused")) else -> api(r, out, phone) } @@ -480,7 +479,7 @@ internal object PhoneLink { } private val companionRoutes = setOf("GET /api/now", "GET /api/guide", "GET /api/catchup", "GET /api/rooms", "GET /api/looks", "POST /api/key", "POST /api/volume", - "POST /api/channel", "POST /api/tune", "POST /api/remind", "GET /api/times", "POST /api/section", "POST /api/catchup/watch", + "POST /api/channel", "POST /api/tune", "POST /api/section", "POST /api/catchup/watch", "GET /api/queue", "POST /api/queue", "POST /api/queue/remove", "GET /api/drivein", "POST /api/drivein/ticket", "POST /api/drivein/watch", "GET /api/director", "POST /api/director/place", "POST /api/director/drop", "POST /api/director/idea", "GET /api/profiles", "POST /api/profile", "POST /api/profile/add", "POST /api/profile/rename", "POST /api/profile/remove") @@ -517,13 +516,6 @@ internal object PhoneLink { val number = body().optInt("number").takeIf { n -> s.channels().any { it.number == n } } ?: return json(out, 404, JSONObject().put("error", "That channel isn't on this TV right now.")) onScreen { s.tune(number, 0) }; json(out, 200, JSONObject().put("number", number)) } - "GET /api/times" -> json(out, 200, OrbitCompanion.times(s, now)) - "POST /api/remind" -> { - val o = body(); var done = false - onScreen { done = OrbitCompanion.remind(s, o.optInt("number"), o.optLong("startMs"), o.optBoolean("on", true), now) } - if (!done) return json(out, 404, JSONObject().put("error", "That programme isn't coming up on this TV.")) - json(out, 200, JSONObject().put("ok", true)) - } "POST /api/section" -> { val section = OrbitCompanion.sections[body().optString("section")] ?: return json(out, 400, JSONObject().put("error", "Unknown place")) onScreen { OrbitCompanion.open(section) }; json(out, 200, JSONObject().put("ok", true)) diff --git a/android/app/src/main/java/tv/orbit/classic/PhonePages.kt b/android/app/src/main/java/tv/orbit/classic/PhonePages.kt index f2f42cec..d7c657bd 100644 --- a/android/app/src/main/java/tv/orbit/classic/PhonePages.kt +++ b/android/app/src/main/java/tv/orbit/classic/PhonePages.kt @@ -21,7 +21,6 @@ background:#ffde59;color:#071632;font-size:18px;font-weight:700}.note{color:#ffd fun app(): String = asset("app.html") /** The Companion, at /: Remote, Guide, Catch Up, Rooms and More (which leads to Create your own). */ fun companion(): String = asset("companion.html") - fun times(): String = asset("times.html") /** For "Add to home screen": Orbit's icon and name, opening on the remote. */ val icons = setOf("/icon-180.png", "/icon-192.png", "/icon-512.png") fun icon(path: String): ByteArray? = runCatching { PhoneLink.context()?.assets?.open("phone" + path)?.use { it.readBytes() } }.getOrNull() diff --git a/android/app/src/main/java/tv/orbit/classic/Rooms.kt b/android/app/src/main/java/tv/orbit/classic/Rooms.kt index ed157e03..7484c760 100644 --- a/android/app/src/main/java/tv/orbit/classic/Rooms.kt +++ b/android/app/src/main/java/tv/orbit/classic/Rooms.kt @@ -69,7 +69,7 @@ internal enum class RoomPart(val title: String, val line: String) { } /** On screen and Arcade settings that may travel; the sound output and anything about this box stay where they are. */ -private val LookKeys = listOf("look", "subtitles_on", "channel_logo", "idents", "ident_sound", "special_idents", "block_ident_sound", "squeeze_back", "up_next", +private val LookKeys = listOf("look", "subtitles_on", "channel_logo", "idents", "ident_sound", "special_idents", "block_ident_sound", "squeeze_back", "cast_on", "drive_in_intro", "reduce_motion") private val ArcadeKeys = listOf("snake_best", "block_drop_best", "brick_break_best", "pairs_best", "patience_wins", "orb_man_best", "blast_best", "skydoku_solved", "snake_music") private val DirectorFiles = listOf("director-decisions-0.json", "director-learning-0.json", "event-ideas-history-0.json") diff --git a/android/app/src/main/java/tv/orbit/classic/SampleChannelScreens.kt b/android/app/src/main/java/tv/orbit/classic/SampleChannelScreens.kt index b637047a..e1b4cd5b 100644 --- a/android/app/src/main/java/tv/orbit/classic/SampleChannelScreens.kt +++ b/android/app/src/main/java/tv/orbit/classic/SampleChannelScreens.kt @@ -71,7 +71,6 @@ internal fun ScheduledChannelPlayer(session: EmbySampleSession, channel: SampleC val squeezeOn = remember { OrbitSettings(settingsContext).squeezeBack } val cameosOn = remember { OrbitSettings(settingsContext).let { it.characterCameos && it.castOn } } val calmMotion = remember { OrbitSettings(settingsContext).reduceMotion } - val upNextOn = remember { OrbitSettings(settingsContext).upNext } val squeezing = squeezeOn && channel is ScheduledChannel && squeezeBackDue(channel.number, current.startMs, current.endMs, next.startMs, now, if (identsHere) identMs else 0L, clockOffsetMs, squeezeLength(current.media.item.type)) val squeeze by androidx.compose.animation.core.animateFloatAsState(if (squeezing) 1f else 0f, if (calmMotion) androidx.compose.animation.core.snap() else androidx.compose.animation.core.tween(1_000), label = "squeeze") @@ -219,8 +218,6 @@ internal fun ScheduledChannelPlayer(session: EmbySampleSession, channel: SampleC } } if (plan != null && squeeze > 0f) SqueezePanel(session, channel, current, next, now, squeeze) - if (plan != null && upNextOn && squeeze == 0f && phase == IdentPhase.None && channel is ScheduledChannel && clockOffsetMs == 0L && next.startMs == current.endMs) - UpNextBanner(channel, current, next, now) heldIdent?.let { held -> key(held.startMs) { val early = endedEarly == held.startMs diff --git a/android/app/src/main/java/tv/orbit/classic/Settings.kt b/android/app/src/main/java/tv/orbit/classic/Settings.kt index bebe3575..a3e262d1 100644 --- a/android/app/src/main/java/tv/orbit/classic/Settings.kt +++ b/android/app/src/main/java/tv/orbit/classic/Settings.kt @@ -102,10 +102,6 @@ internal class OrbitSettings(context: Context) { var identSoundNightQuiet: Boolean get() = saved.getBoolean("ident_sound_night_quiet", true) set(value) { saved.edit().putBoolean("ident_sound_night_quiet", value).apply() } - /** A small "Coming up next" card near the end of each programme (Paul, 8 November 2026). On by default. */ - var upNext: Boolean - get() = saved.getBoolean("up_next", true) - set(value) { saved.edit().putBoolean("up_next", value).apply() } var driveInIntro: Boolean get() = saved.getBoolean("drive_in_intro", true) set(value) { saved.edit().putBoolean("drive_in_intro", value).apply() } @@ -274,7 +270,6 @@ private fun ViewingDetail(firstSwitch: FocusRequester, modifier: Modifier, top: var identSound by remember { mutableStateOf(settings.identSound) } var identSoundQuiet by remember { mutableStateOf(settings.identSoundQuiet) } var identSoundNightQuiet by remember { mutableStateOf(settings.identSoundNightQuiet) } - var upNext by remember { mutableStateOf(settings.upNext) } var driveInIntro by remember { mutableStateOf(settings.driveInIntro) } var reduceMotion by remember { mutableStateOf(settings.reduceMotion) } var squeezeBack by remember { mutableStateOf(settings.squeezeBack) } @@ -305,9 +300,6 @@ private fun ViewingDetail(firstSwitch: FocusRequester, modifier: Modifier, top: SettingLine("Quieter late at night", "From 11pm to 7am, ident sounds play softly on their own, so nobody's woken.") { OnOff(identSoundNightQuiet, Modifier, enabled = identSound && !identSoundQuiet, onClick = { identSoundNightQuiet = !identSoundNightQuiet; settings.identSoundNightQuiet = identSoundNightQuiet }) } - SettingLine("Coming up next", "Near the end of a programme, a small card in the corner says what's on next.") { - OnOff(upNext, Modifier, onClick = { upNext = !upNext; settings.upNext = upNext }) - } SettingLine("Special idents", "Give named blocks and events their own ident as they begin, such as Riot Laughs or PPV Sunday. Off uses each channel's usual ident.") { OnOff(specialIdents, Modifier, onClick = { specialIdents = !specialIdents; settings.specialIdents = specialIdents }) } diff --git a/android/app/src/main/java/tv/orbit/classic/UpNext.kt b/android/app/src/main/java/tv/orbit/classic/UpNext.kt deleted file mode 100644 index 78839039..00000000 --- a/android/app/src/main/java/tv/orbit/classic/UpNext.kt +++ /dev/null @@ -1,54 +0,0 @@ -package tv.orbit.classic - -import androidx.compose.foundation.background -import androidx.compose.foundation.border -import androidx.compose.foundation.layout.* -import androidx.compose.foundation.shape.RoundedCornerShape -import androidx.compose.runtime.Composable -import androidx.compose.runtime.LaunchedEffect -import androidx.compose.runtime.getValue -import androidx.compose.runtime.mutableLongStateOf -import androidx.compose.runtime.remember -import androidx.compose.runtime.setValue -import androidx.compose.ui.Alignment -import androidx.compose.ui.Modifier -import androidx.compose.ui.text.font.FontWeight -import androidx.compose.ui.text.style.TextOverflow -import androidx.compose.ui.unit.dp -import androidx.compose.ui.unit.sp -import androidx.tv.material3.Text - -/** - * Coming up next (Paul, 8 November 2026): near the end of a programme, a small card in the corner names what's on next, as - * a channel would, for [UP_NEXT_SHOW_MS] and once per programme. It comes in the last few minutes, before the squeeze-back - * and the ident, so they never overlap. - */ -internal const val UP_NEXT_FROM_MS = 3 * 60_000L -internal const val UP_NEXT_UNTIL_MS = 75_000L -internal const val UP_NEXT_SHOW_MS = 10_000L - -/** Whether the card may start now, with [remainingMs] of the programme left. */ -internal fun upNextMayStart(remainingMs: Long) = remainingMs in (UP_NEXT_UNTIL_MS + 1)..UP_NEXT_FROM_MS - -/** The words on the card: "in 3 min", or "next" in the final minute or so. */ -internal fun upNextWhen(remainingMs: Long): String = ((remainingMs + 59_999) / 60_000).let { m -> if (m <= 1) "in a minute" else "in $m min" } - -@Composable -internal fun UpNextBanner(channel: SampleChannel, current: SampleBroadcast, next: SampleBroadcast, now: Long, modifier: Modifier = Modifier) { - // Kids never sees what a grown-up takeover will show, and nothing is named when the channel goes to sleep. - if (kidsAsleep(takeoverOf(channel.number, next))) return - var until by remember(current.startMs) { mutableLongStateOf(0L) } - val remaining = current.endMs - now - LaunchedEffect(current.startMs, upNextMayStart(remaining)) { if (until == 0L && upNextMayStart(remaining)) until = now + UP_NEXT_SHOW_MS } - if (until == 0L || now >= until) return - val (title, detail) = guideTitle(channel.number, next) - val corner = RoundedCornerShape(10.dp) - Box(Modifier.fillMaxSize().padding(36.dp), contentAlignment = Alignment.BottomEnd) { - Column(modifier.riseIn(0).widthIn(max = 460.dp).background(Navy.copy(alpha = .94f), corner).border(2.dp, Yellow, corner).padding(horizontal = 18.dp, vertical = 12.dp), - verticalArrangement = Arrangement.spacedBy(3.dp)) { - Text("COMING UP NEXT • ${upNextWhen(remaining).uppercase()}", color = Yellow, fontFamily = Anton, fontSize = 14.sp) - Text(title, color = Ink, fontSize = 20.sp, fontWeight = FontWeight.SemiBold, maxLines = 1, overflow = TextOverflow.Ellipsis) - Text(listOfNotNull(detail, "${channel.number} ${ChannelBrands.displayName(channel)}").joinToString(" • "), color = Muted, fontSize = 13.sp, maxLines = 1, overflow = TextOverflow.Ellipsis) - } - } -} diff --git a/android/app/src/test/java/tv/orbit/classic/PhoneLinkTest.kt b/android/app/src/test/java/tv/orbit/classic/PhoneLinkTest.kt index 87c902c0..276d9a46 100644 --- a/android/app/src/test/java/tv/orbit/classic/PhoneLinkTest.kt +++ b/android/app/src/test/java/tv/orbit/classic/PhoneLinkTest.kt @@ -145,9 +145,7 @@ class PhoneLinkTest { val pressed = mutableListOf(); val volume = mutableListOf() OrbitCompanion.inject = { synchronized(pressed) { pressed += it } }; OrbitCompanion.volume = { volume += it } PhoneLink.clock = { now } - val reminders = mutableListOf() - PhoneLink.screen = CompanionScreen({ companionChannels }, { selected }, { true }, { 0 }, { n, o -> tuned += n to o; selected = n }, - reminders = { reminders.toList() }, remind = { n, start, title, on -> reminders.removeAll { it.channel == n && it.startMs == start }; if (on) reminders += ProgrammeReminder(n, start, title) }) + PhoneLink.screen = CompanionScreen({ companionChannels }, { selected }, { true }, { 0 }, { n, o -> tuned += n to o; selected = n }) try { assertTrue(call("/api/now").body.contains("Enter the code")) // not joined: nothing // The home-screen manifest needs no phone, and carries Orbit's name only. @@ -193,19 +191,6 @@ class PhoneLinkTest { assertEquals(0, JSONObject(call("/api/drivein", cookie = cookie).body).getJSONArray("bills").length()) assertEquals(404, call("/api/drivein/ticket", "POST", """{"startMs":1}""", cookie = cookie).status) assertEquals(409, call("/api/drivein/watch", "POST", "{}", cookie = cookie).status) - // Reminders from the phone (8 November 2026): only for a programme still to come on a channel this TV shows. - val next = JSONObject(call("/api/guide", cookie = cookie).body).getJSONArray("channels").getJSONObject(0).getJSONObject("next") - assertFalse(next.getBoolean("reminded")) - assertEquals(200, call("/api/remind", "POST", """{"number":101,"startMs":${next.getLong("startMs")},"on":true}""", cookie = cookie).status) - assertEquals(listOf(101 to "Friends"), reminders.map { it.channel to it.title }) - assertTrue(JSONObject(call("/api/guide", cookie = cookie).body).getJSONArray("channels").getJSONObject(0).getJSONObject("next").getBoolean("reminded")) - assertEquals(404, call("/api/remind", "POST", """{"number":999,"startMs":${next.getLong("startMs")}}""", cookie = cookie).status) - assertEquals(404, call("/api/remind", "POST", """{"number":101,"startMs":${next.getLong("startMs") + 1}}""", cookie = cookie).status) - assertEquals(200, call("/api/remind", "POST", """{"number":101,"startMs":${next.getLong("startMs")},"on":false}""", cookie = cookie).status) - assertTrue(reminders.isEmpty()) - // Orbit TV Times: the page and its listings, for a joined phone. - assertTrue(call("/times", cookie = cookie).status == 200) - assertTrue(JSONObject(call("/api/times", cookie = cookie).body).has("days")) // Titles and times only. val everything = call("/api/now", cookie = cookie).body + call("/api/guide", cookie = cookie).body + call("/api/rooms", cookie = cookie).body listOf("token", "api_key", "password", "X-Emby", "MediaBrowser", "s-a1", "a1").forEach { assertFalse(it, everything.contains("\"$it\"", ignoreCase = true)) } diff --git a/android/app/src/test/java/tv/orbit/classic/UpNextAndTimesTest.kt b/android/app/src/test/java/tv/orbit/classic/UpNextAndTimesTest.kt deleted file mode 100644 index 24a6c977..00000000 --- a/android/app/src/test/java/tv/orbit/classic/UpNextAndTimesTest.kt +++ /dev/null @@ -1,34 +0,0 @@ -package tv.orbit.classic - -import org.junit.Assert.* -import org.junit.Test -import java.time.ZoneId -import java.time.ZonedDateTime - -/** 8 November 2026: the Coming up next card's timing, and Orbit TV Times built from real plans. */ -class UpNextAndTimesTest { - private val minute = 60_000L - @Test fun comingUpNextShowsBetweenThreeMinutesAndTheSqueeze() { - assertFalse(upNextMayStart(3 * minute + 1)); assertTrue(upNextMayStart(3 * minute)); assertTrue(upNextMayStart(76_000)) - assertFalse(upNextMayStart(75_000)); assertFalse(upNextMayStart(10_000)) - assertEquals("in 3 min", upNextWhen(3 * minute)); assertEquals("in 2 min", upNextWhen(90_000)); assertEquals("in a minute", upNextWhen(50_000)) - } - - @Test fun tvTimesListsEachEveningsFilmsAndPicksFromThePlans() { - val zone = ZoneId.of("Europe/London") - val day = ZonedDateTime.of(2026, 11, 9, 13, 0, 0, 0, zone).toInstant().toEpochMilli() - val eight = ZonedDateTime.of(2026, 11, 9, 20, 0, 0, 0, zone).toInstant().toEpochMilli() - fun film(id: String, title: String, at: Long) = ScheduleEntry("", EpisodeMark(0, 0), ScheduledMedia(SampleItem(title, "Movie", 100, "", id, 100 * minute), "s-$id", 100 * minute), at) - val plan = ChannelPlan(listOf(film("f1", "Hot Fuzz", eight), film("f2", "Paul", eight + 100 * minute)), ScheduleCursor()) - val channel = ScheduledChannel(SampleChannel(plan.entries.map { it.media }, "BritX", 309), plan) - val screen = CompanionScreen({ listOf(channel) }, { 309 }, { false }, { 0 }, { _, _ -> }) - val times = OrbitCompanion.times(screen, day, zone) - val first = times.getJSONArray("days").getJSONObject(0) - assertEquals("2026-11-09", first.getString("date")) - val films = first.getJSONArray("films") - assertEquals(listOf("Hot Fuzz", "Paul"), (0 until films.length()).map { films.getJSONObject(it).getString("title") }) - assertEquals(309, films.getJSONObject(0).getInt("channel")) - // Ids and sources never go to the phone. - assertFalse(times.toString().contains("s-f1")); assertFalse(times.toString().contains("\"f1\"")) - } -} diff --git a/design/catch-up/v2/catchup-v2-page.svg b/design/catch-up/v2/catchup-v2-page.svg deleted file mode 100644 index 9e9e4ea9..00000000 --- a/design/catch-up/v2/catchup-v2-page.svg +++ /dev/null @@ -1,158 +0,0 @@ - -Catch Up v2: Continue watching first - - - - -Home -What's On -TV Guide - -Catch Up -Drive-In -Arcade -20:14 -Saturday 7 November - - -MOCK DATA - -CATCH UP -Everything on Orbit in the last two days, from the start - -CONTINUE WATCHING - - - - - - - - - - - - -17 min left -Doctor Who -S3 E8 · Human Nature (1) -Paradox · 18:45 yesterday - - - - - - - - - - - - - - -17 min left -Frieren -S1 E12 · A Real Hero -Sakura · 16:20 today - - - - - - - - - - - - - -9 min left -Better Call Saul -S2 E4 · Gloves Off -Signature · 21:00 yesterday - - - - - - - - - - - - - -1 h 12 min left -The Christmas Train -2017 · Hallmark -Mistletoe · 14:20 today - -JUST MISSED - - - - - - - - - -Dragon Ball Z -S2 E14 · Goku vs. Vegeta -Ended 19:50 - - - - - - - - - - -NCIS -S4 E12 · Driven -Ended 19:45 - - - - - - - - - - -Blue Planet -Ep 4 · Coral Seas -Ended 19:30 - - - - - - - - - - -Batman: TAS -S1 E4 · Two-Face (1) -Ended 19:10 - -▼ Earlier today, Yesterday and The day before carry on below - - -OK -Carry on watching -Hold OK -Remove from Continue watching -◀ ▶ ▲ ▼ -Move -Back -Home - - \ No newline at end of file diff --git a/design/catch-up/v2/catchup-v2-playing.svg b/design/catch-up/v2/catchup-v2-playing.svg deleted file mode 100644 index 5ca4d4a2..00000000 --- a/design/catch-up/v2/catchup-v2-playing.svg +++ /dev/null @@ -1,62 +0,0 @@ - -Watching from Catch Up, with options - - - - - -MOCK DATA - - - -CATCH UP -Doctor Who -S3 E8 · Human Nature (1) · Paradox - -Subtitles -English -› - - -Sound -English 5.1 -› - -Start again -From 18:45 -› - -Go to a channel -Type its number -› - -Back to live -Paradox now -› -Subtitles and sound stay as you set them -for this programme and the rest of Catch Up. - - - - - -CATCH UP -Doctor Who · S3 E8 -Aired 18:45 yesterday - - - -27:40 -45:00 -◀ ▶ -30 s back or on -OK -Pause -Hold OK -Options -▲ ▼ -Live channels -Back -Leave - - \ No newline at end of file diff --git a/design/catch-up/v2/catchup-v2-remove.svg b/design/catch-up/v2/catchup-v2-remove.svg deleted file mode 100644 index dd81fc6b..00000000 --- a/design/catch-up/v2/catchup-v2-remove.svg +++ /dev/null @@ -1,167 +0,0 @@ - -Catch Up v2: held OK removes from Continue watching - - - - -Home -What's On -TV Guide - -Catch Up -Drive-In -Arcade -20:14 -Saturday 7 November - - -MOCK DATA - -CATCH UP -Everything on Orbit in the last two days, from the start - -CONTINUE WATCHING - - - - - - - - - - - - -17 min left -Doctor Who -S3 E8 · Human Nature (1) -Paradox · 18:45 yesterday - - - - - - - - - - - - - - -17 min left -Frieren -S1 E12 · A Real Hero -Sakura · 16:20 today - - - - - - - - - - - - - -9 min left -Better Call Saul -S2 E4 · Gloves Off -Signature · 21:00 yesterday - - - - - - - - - - - - - -1 h 12 min left -The Christmas Train -2017 · Hallmark -Mistletoe · 14:20 today - -JUST MISSED - - - - - - - - - -Dragon Ball Z -S2 E14 · Goku vs. Vegeta -Ended 19:50 - - - - - - - - - - -NCIS -S4 E12 · Driven -Ended 19:45 - - - - - - - - - - -Blue Planet -Ep 4 · Coral Seas -Ended 19:30 - - - - - - - - - - -Batman: TAS -S1 E4 · Two-Face (1) -Ended 19:10 - -▼ Earlier today, Yesterday and The day before carry on below - - - -REMOVE FROM CONTINUE WATCHING? -Doctor Who · S3 E8 · Human Nature (1) -It stays in Catch Up until Monday 18:45, from the start. - -Remove - -Keep it - - - - -OK -Choose -Back -Keep it -Held OK on a Continue watching card - - \ No newline at end of file diff --git a/design/profiles/v2/family-v2-add.svg b/design/profiles/v2/family-v2-add.svg deleted file mode 100644 index 09a20dfd..00000000 --- a/design/profiles/v2/family-v2-add.svg +++ /dev/null @@ -1,66 +0,0 @@ - -Family v2: adding someone, step 2 of 4 - - - -Settings -› Family › Add someone -20:14 - - -MOCK DATA - - -1 Name - -2 Adult or Kids - -3 Picture - -4 Channels - -Who's this profile for? -You can change it later. Kids profiles always keep their limits. - - - - - -W - -Adult -Sees every channel once the PIN is in -✓ Own Continue watching, picks and Up next -✓ Personalise on, can be turned off -✓ After Dark and The Late Show behind the PIN - - - - - -K - -Kids -Only the channels you tick -✓ Starts with Orbit's kids channels ticked -✓ Never After Dark or The Late Show -✓ Leaving Kids needs the PIN - - -Name: -Wife's name - - -Back - -Next - - -◀ ▶ -Adult or Kids -OK -Choose and carry on -Back -Step 1, Name - - \ No newline at end of file diff --git a/design/profiles/v2/family-v2-edit.svg b/design/profiles/v2/family-v2-edit.svg deleted file mode 100644 index d7416d24..00000000 --- a/design/profiles/v2/family-v2-edit.svg +++ /dev/null @@ -1,66 +0,0 @@ - -Family v2: one person's profile - - - -Settings -› Family › Wife's name -20:14 - - -MOCK DATA - - - - -W - -Wife's name - -Adult -Watching since 7 Nov -Personalise: learning from 14 programmes - - - -Name -Wife's name - -Rename - - -Picture -Pink silhouette - -Change - -Profile type -Adult - -Change - -Personalise -On: Orbit learns from what she watches - -Turn off - -What Orbit has learnt -14 programmes · 3 saved - -Clear - - - -Remove this profile - -Removing a profile clears its Continue watching and picks. Channels and schedules aren't touched. It asks first. - - -▲ ▼ -Choose -OK -Change it -Back -Family - - \ No newline at end of file diff --git a/design/profiles/v2/family-v2-home.svg b/design/profiles/v2/family-v2-home.svg deleted file mode 100644 index ac0431b8..00000000 --- a/design/profiles/v2/family-v2-home.svg +++ /dev/null @@ -1,89 +0,0 @@ - -Family v2: everyone at a glance - - - -Settings -› Family -20:14 - - -MOCK DATA -WHO WATCHES - - - - - -P - -Paul - -Adult -Personalise on - - - - - - -W - -Wife's name - -Adult -Personalise on - - - - - -K - -Kids - -Kids -10 channels - - - -+ -Add someone -Adult or Kids - - -FOR THE WHOLE HOUSE - -PIN and After Dark -Locked · unlocked until you lock it -› - -Nightly lock -Off -› - -Ask who's watching -When Orbit opens -› - -Bedtime -Wind Down on Tots -› - - - -Everyone gets their own Continue watching, picks and Up next. Channels, schedules and the Drive-In stay shared. -Adult profiles see everything behind the PIN. Kids profiles see only their ticked channels, never After Dark or The Late Show. - - - -OK -Open a profile -◀ ▶ -Move -▼ -Household settings -Back -Settings - - \ No newline at end of file diff --git a/design/profiles/v2/family-v2-kids-channels.svg b/design/profiles/v2/family-v2-kids-channels.svg deleted file mode 100644 index 91924304..00000000 --- a/design/profiles/v2/family-v2-kids-channels.svg +++ /dev/null @@ -1,93 +0,0 @@ - -Family v2: Kids' channels, full screen - - - -Settings -› Family › Kids › Channels -20:14 - - -MOCK DATA -What Kids can watch -Tick a channel to add it. After Dark and The Late Show are never here. - - -Orbit's kids picks - -Cartoons - -Family films - -Clear all - -11 channels on - - - - - -✓ - - - -✓ - - - -✓ - - - - -✓ - - - -✓ - - - -✓ - - - -✓ - - - -✓ - - - -✓ - - - - - - - - - - - - - - - -✓ - - - - - - -OK -Tick or untick -◀ ▶ ▲ ▼ -Move -Back -Done, saved as you go - - \ No newline at end of file diff --git a/design/themes/01-home.png b/design/themes/01-home.png deleted file mode 100644 index 2836f81a..00000000 Binary files a/design/themes/01-home.png and /dev/null differ diff --git a/design/themes/02-guide.png b/design/themes/02-guide.png deleted file mode 100644 index 2d74f6ce..00000000 Binary files a/design/themes/02-guide.png and /dev/null differ diff --git a/design/themes/03-whats-on.png b/design/themes/03-whats-on.png deleted file mode 100644 index ec10ae74..00000000 Binary files a/design/themes/03-whats-on.png and /dev/null differ diff --git a/design/themes/04-catch-up.png b/design/themes/04-catch-up.png deleted file mode 100644 index 681f3c74..00000000 Binary files a/design/themes/04-catch-up.png and /dev/null differ diff --git a/design/themes/05-drive-in.png b/design/themes/05-drive-in.png deleted file mode 100644 index f5e70547..00000000 Binary files a/design/themes/05-drive-in.png and /dev/null differ diff --git a/design/themes/06-settings-look.png b/design/themes/06-settings-look.png deleted file mode 100644 index 617e31d9..00000000 Binary files a/design/themes/06-settings-look.png and /dev/null differ diff --git a/design/themes/07-settings-channels.png b/design/themes/07-settings-channels.png deleted file mode 100644 index 18c370ac..00000000 Binary files a/design/themes/07-settings-channels.png and /dev/null differ diff --git a/design/themes/08-arcade.png b/design/themes/08-arcade.png deleted file mode 100644 index 1558d171..00000000 Binary files a/design/themes/08-arcade.png and /dev/null differ diff --git a/design/themes/09-whos-watching.png b/design/themes/09-whos-watching.png deleted file mode 100644 index 67131b1c..00000000 Binary files a/design/themes/09-whos-watching.png and /dev/null differ diff --git a/design/themes/10-onboarding-look.png b/design/themes/10-onboarding-look.png deleted file mode 100644 index 39e36b89..00000000 Binary files a/design/themes/10-onboarding-look.png and /dev/null differ diff --git a/design/themes/11-onboarding-welcome.png b/design/themes/11-onboarding-welcome.png deleted file mode 100644 index 715d742a..00000000 Binary files a/design/themes/11-onboarding-welcome.png and /dev/null differ diff --git a/design/themes/12-directors-chair.png b/design/themes/12-directors-chair.png deleted file mode 100644 index 55f7de46..00000000 Binary files a/design/themes/12-directors-chair.png and /dev/null differ diff --git a/design/times/masthead-preview.png b/design/times/masthead-preview.png deleted file mode 100644 index aa307688..00000000 Binary files a/design/times/masthead-preview.png and /dev/null differ diff --git a/design/times/masthead.svg b/design/times/masthead.svg deleted file mode 100644 index 1f3e0c9a..00000000 --- a/design/times/masthead.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - ORBIT - TV Times - THE WEEK'S PROGRAMMES · EVERY CHANNEL - FREE WITH YOUR ORBIT - PICKS · FILMS · DRIVE-IN - diff --git a/design/whats-on/arcade-redesign.svg b/design/whats-on/arcade-redesign.svg deleted file mode 100644 index 3c442341..00000000 --- a/design/whats-on/arcade-redesign.svg +++ /dev/null @@ -1,60 +0,0 @@ - -Orbit Arcade (redesign) - - - -Home -What's On -TV Guide -Drive-In - -Arcade -16:42 -Saturday 14 November - - -MOCK DATA - - - -Six small games, all on the remote - - - - - -OrbitHive Bedlam -Best score 48,200 · Wave 12 - -Play - - - -Bedlam - - -Snake - -Block Drop - -Brick Break - -Pairs - -Patience - -More soon - -More soon - - - -OK -Play -◀ ▶ ▲ ▼ -Choose a game -Back -Home -Scores stay on this box - - \ No newline at end of file diff --git a/design/whats-on/drive-in-redesign.svg b/design/whats-on/drive-in-redesign.svg deleted file mode 100644 index dc4248dc..00000000 --- a/design/whats-on/drive-in-redesign.svg +++ /dev/null @@ -1,83 +0,0 @@ - -Orbit Drive-In (redesign) - - - - - - -Home -What's On -TV Guide - -Drive-In -Arcade -16:42 -Saturday 14 November - - -MOCK DATA - - -TONIGHT · ORBIT MARQUEE -BACK TO THE -FUTURE -Gates 19:55 · Feature 20:00 -1985 · 116 min · Late Show 23:00 - - - -THIS WEEK AT THE DRIVE-IN - -Ticket held for tonight -Reminder 5 minutes before, and at the start - -SAT -20:00 -ORBIT MARQUEE -Back to the Future - -TICKET HELD - - -SAT -23:00 -THE LATE SHOW -Evil Dead II - -TAKE A TICKET - -SUN -20:00 -ORBIT MARQUEE -Jaws - -TICKET HELD - -FRI -20:00 -DOUBLE BILL -Terminator Double Bill - -TAKE A TICKET - -SAT -19:00 -TRIPLE BILL -Back to the Future Trilogy - -TAKE A TICKET - - - -OK -Take or return a ticket -▶ on tonight -Go to the big screen -◀ ▶ -Bills -Back -Home -Bills come from the Drive-In's own booked calendar - - \ No newline at end of file diff --git a/design/whats-on/v2/1-home.svg b/design/whats-on/v2/1-home.svg deleted file mode 100644 index 451bb1f0..00000000 --- a/design/whats-on/v2/1-home.svg +++ /dev/null @@ -1,76 +0,0 @@ - -Home - - - -Home - -What's On -TV Guide -Drive-In -Arcade -18:42 -Saturday 14 November - - - -MOCK DATA - -What would you like to watch? - - - -ALL CHANNELS - - - - - -ENTERTAINMENT - - - - -MOVIES - - - - -COMEDY - - - - -CARTOONS - - - - -KIDS - - - - -DOCUMENTARIES - - - - -SPORT - - - -Tonight's Pick and the evening's highlights are in What's On - - - -OK -Open the category's channels -▲ ▼ -Move -▲ at the top -Top bar -Back -Close Orbit - - \ No newline at end of file diff --git a/design/whats-on/v2/2-whats-on.svg b/design/whats-on/v2/2-whats-on.svg deleted file mode 100644 index dab75d23..00000000 --- a/design/whats-on/v2/2-whats-on.svg +++ /dev/null @@ -1,114 +0,0 @@ - -What's On - - - -Home -What's On - -TV Guide -Drive-In -Arcade -18:42 -Saturday 14 November - - - -MOCK DATA - - - - - - -TONIGHT'S PICK - -Tonight 21:00 -JOE BOB SATURDAY -Tourist Trap (1979) -The drive-in host introduces a cult mannequin -chiller. A weekly After Dark event. - -WEEKLY EVENT -131 min · OK for details and Remind me -Artwork: the programme's Emby backdrop (stand-in shown) - - - -TONIGHT ON ORBIT - - -19:30 - -Futurama -Next in turn - - - -20:00 - -Back to the Future -Orbit Marquee - - - -21:00 - -Scottish Comedy Night -Still Game, Limmy's Show! - - - -22:00 - -The X-Files -A complete two-part story - - - -22:30 - -Saturday Night Main Event -Ring X Saturday - - - -COMING UP -Premieres, specials and events, already booked - - - -PPV SUNDAY - -WrestleMania III -Sunday 19:08 - - - - -FIRST ON ORBIT - -A new-arrival film -Friday 20:00 - - - - -AT THE DRIVE-IN - -The Back to the Future Trilogy -Saturday 19:00 -Go to the Drive-In ▶ - - - - -OK -Details, then Watch or Remind me -◀ ▶ ▲ ▼ -Move -Back -Home -Chosen from confirmed bookings · refreshed daily at 12:00 - - \ No newline at end of file diff --git a/design/whats-on/v2/3-whats-on-popup.svg b/design/whats-on/v2/3-whats-on-popup.svg deleted file mode 100644 index 15470e23..00000000 --- a/design/whats-on/v2/3-whats-on-popup.svg +++ /dev/null @@ -1,138 +0,0 @@ - -What's On - - - -Home -What's On - -TV Guide -Drive-In -Arcade -18:42 -Saturday 14 November - - - -MOCK DATA - - - - - - -TONIGHT'S PICK - -Tonight 21:00 -JOE BOB SATURDAY -Tourist Trap (1979) -The drive-in host introduces a cult mannequin -chiller. A weekly After Dark event. - -WEEKLY EVENT -131 min · OK for details and Remind me -Artwork: the programme's Emby backdrop (stand-in shown) - - -TONIGHT ON ORBIT - - -19:30 - -Futurama -Next in turn - - - -20:00 - -Back to the Future -Orbit Marquee - - - -21:00 - -Scottish Comedy Night -Still Game, Limmy's Show! - - - -22:00 - -The X-Files -A complete two-part story - - - -22:30 - -Saturday Night Main Event -Ring X Saturday - - - -COMING UP -Premieres, specials and events, already booked - - - -PPV SUNDAY - -WrestleMania III -Sunday 19:08 - - - - -FIRST ON ORBIT - -A new-arrival film -Friday 20:00 - - - - -AT THE DRIVE-IN - -The Back to the Future Trilogy -Saturday 19:00 -Go to the Drive-In ▶ - - - - -OK -Details, then Watch or Remind me -◀ ▶ ▲ ▼ -Move -Back -Home -Chosen from confirmed bookings · refreshed daily at 12:00 - - - - - -THE X-FILES -Season 2, Episode 25 · Anasazi - -STORY · PART 1 OF 2 - -45 min - -Tonight 22:00 to 22:45 - -BOOKED -Then part 2, The Blessing Way, straight after at 22:45 -Mulder receives leaked files that could prove the existence of extraterrestrial -life, and the trail leads to a buried railcar in the New Mexico desert. [Emby synopsis] -Why it's here: a complete two-part story tonight, on Paradox's late block. - -Remind me at 22:00 - - -Back -On now? The first button is Watch live: one press to tune in. - - \ No newline at end of file diff --git a/design/whats-on/v2/4-drive-in.svg b/design/whats-on/v2/4-drive-in.svg deleted file mode 100644 index 7485b155..00000000 --- a/design/whats-on/v2/4-drive-in.svg +++ /dev/null @@ -1,86 +0,0 @@ - -Orbit Drive-In - - - - - - - - -Home -What's On -TV Guide -Drive-In - -Arcade -18:42 -Saturday 14 November - - - -MOCK DATA - - - -TONIGHT · ORBIT MARQUEE -Gates 19:55 · Feature 20:00 -BACK TO THE FUTURE -1985 · 116 min · then The Late Show at 23:00 - -Ticket held -Reminder 5 minutes before, and at the start - -Return ticket - - -Go to the big screen - - - -THIS WEEK'S BILLS - -SAT -23:00 -THE LATE SHOW -Evil Dead II -OK: take a ticket - -SUN -20:00 -ORBIT MARQUEE -Jaws - -TICKET HELD - -MON -20:00 -ORBIT MARQUEE -Ghostbusters -OK: take a ticket - -FRI -20:00 -DOUBLE BILL -Terminator Double Bill -OK: take a ticket - -SAT -19:00 -TRIPLE BILL -Back to the Future Trilogy -OK: take a ticket - - - -OK -Ticket or big screen -▶ -This week's bills -◀ ▶ ▲ ▼ -Move -Back -Home -Bills come from the Drive-In's own booked calendar - - \ No newline at end of file diff --git a/design/whats-on/v2/5-tv-guide.svg b/design/whats-on/v2/5-tv-guide.svg deleted file mode 100644 index 64006926..00000000 --- a/design/whats-on/v2/5-tv-guide.svg +++ /dev/null @@ -1,112 +0,0 @@ - -TV Guide, opened on Movies - - - -Home -What's On -TV Guide - -Drive-In -Arcade -18:42 -Saturday 14 November - - - -MOCK DATA - - -All Channels - -Entertainment - -Movies - -Comedy - -Cartoons - -Kids - -Documentaries - -Sport - - - - -Raiders of the Lost Ark -Premiere · 18:15 to 20:10 · 1981 · 115 min - -Live picture of the focused channel - - - -Saturday -18:30 -19:00 -19:30 -20:00 - - - - -301 - - -Raiders of the Lost Ark -18:15 to 20:10 - - -The Goonies - - - - -303 - - -Aliens - - -Tron - - - - -305 - - -Night of the Demons - - -The Fog - - - - -300 - - -Gates open - - -Back to the Future - - - - - -OK -Watch, or details if later -▲ ▼ -Channels -◀ ▶ -Time -▲ at the top -Categories, then the top bar -Back -Home - - \ No newline at end of file diff --git a/design/whats-on/v2/6-navigation.svg b/design/whats-on/v2/6-navigation.svg deleted file mode 100644 index 511f53e2..00000000 --- a/design/whats-on/v2/6-navigation.svg +++ /dev/null @@ -1,59 +0,0 @@ - -Remote navigation between the screens - - - -Home - -What's On -TV Guide -Drive-In -Arcade - - - -ONE TOP BAR, FIVE DESTINATIONS, FEW PRESSES -The top bar: ◀ ▶ between the five destinations, ▼ into the screen, ▲ back up to the bar - -Home -⇄ - -What's On -⇄ - -TV Guide -⇄ - -Drive-In -⇄ - -Arcade - - -OK on a card -Back closes it - -Details pop-up - - -OK on a programme on now -Back to the guide - -Live TV (full screen) - - -OK on Go to the big screen -Back to the Drive-In - -Live TV (Drive-In) -Home: OK on a -category opens the -TV Guide filtered to it -· Every screen has the same top bar. ▲ from a screen's top row reaches it; ◀ ▶ moves along it; ▼ goes into the screen. -· Tune in fast: on What's On, OK on a Tonight row that's on now opens the pop-up with Watch live focused, so it's 2 presses. -· In the TV Guide, OK on a programme on now tunes straight in: 1 press. Home's categories open the TV Guide filtered to them. -· Back is always one step: the pop-up closes to its card; a screen goes to Home; Home leaves Orbit, as it does today. -· Focus: 4 px gold ring 3 px outside the item, a 4% lift and a shadow; gold fill on tabs, chips and buttons. 120 ms moves. -· What's On opens on Tonight's Pick. It is rebuilt once a day at 12:00 from confirmed bookings, never from proposals. - - \ No newline at end of file diff --git a/design/whats-on/whats-on-details.svg b/design/whats-on/whats-on-details.svg deleted file mode 100644 index 9c4ddd93..00000000 --- a/design/whats-on/whats-on-details.svg +++ /dev/null @@ -1,36 +0,0 @@ - -Programme details - - -Emby artwork (backdrop) - - - - - -MOCK DATA -THE X-FILES -Season 2, Episode 25 · Anasazi - -STORY · PART 1 OF 2 - -45 min - -Tonight 22:00 to 22:45 - -BOOKED -Then part 2, The Blessing Way, straight after at 22:45 on Paradox -Mulder receives leaked files that could prove the existence of -extraterrestrial life, and the trail leads to a buried railcar in -the New Mexico desert. [Synopsis from Emby, four lines at most.] -Why it's here: a complete two-part story tonight, on Paradox's late block. - -Remind me at 22:00 - - -See Paradox in the TV Guide - -Back -On now, the first button reads Watch live. Nothing here can change a booking. - - \ No newline at end of file diff --git a/design/whats-on/whats-on-highlights.svg b/design/whats-on/whats-on-highlights.svg deleted file mode 100644 index 9a73b8d3..00000000 --- a/design/whats-on/whats-on-highlights.svg +++ /dev/null @@ -1,131 +0,0 @@ - -What's On: Highlights - - - -Home - -What's On -TV Guide -Drive-In -Arcade -16:42 -Saturday 14 November - - - - -WHAT'S ON -Highlights - -Tonight on Orbit -Premieres & Specials -At the Drive-In - - -MOCK DATA - - - -Emby artwork (backdrop) - -TONIGHT'S PICK - -Tonight 21:00 -Joe Bob Saturday -Tourist Trap (1979) -The drive-in host introduces a cult -mannequin chiller. Weekly event. - -WEEKLY EVENT - - - -TONIGHT ON ORBIT -See the whole evening - - -19:30 - -Futurama -S2 E4 · next in turn - - - -20:00 - -Back to the Future -Orbit Marquee · 116 min - - - -21:00 - -Scottish Comedy Night -Still Game, then Limmy's - - - -22:00 - -The X-Files -Story · part 1 of 2 - - - - - -LIVE NOW - - -Batman Beyond · Spellbound - - -16:37 to 16:59 - - - -Star Trek: The Next Generation - - -16:05 to 16:50 - - - -Planet Earth II · Islands - - -16:20 to 17:15 - - - -WWF Superstars - - -16:30 to 17:20 - - - -PREMIERES & SPECIALS - - -PPV SUNDAY -WrestleMania III -Ring X · Sunday 19:08 - - -FIRST ON ORBIT -A new-arrival film -Premiere · Friday 20:00 - - - -OK -Watch live or details -◀ ▶ ▲ ▼ -Move -Back -Home -Every listing is a confirmed booking - - \ No newline at end of file diff --git a/design/whats-on/whats-on-premieres.svg b/design/whats-on/whats-on-premieres.svg deleted file mode 100644 index c4d64dee..00000000 --- a/design/whats-on/whats-on-premieres.svg +++ /dev/null @@ -1,134 +0,0 @@ - -Premieres and Specials - - - -Home - -What's On -TV Guide -Drive-In -Arcade -16:42 -Saturday 14 November - - - - -WHAT'S ON -Highlights -Tonight on Orbit -Premieres & Specials - -At the Drive-In - - -MOCK DATA - - -SAT -14 -2 specials - -SUN -15 -3 specials - -MON -16 - - -TUE -17 -1 premiere - -WED -18 - - -THU -19 - - -FRI -20 -1 premiere - - -FIRST ON ORBIT - - - -FIRST ON ORBIT - -A new-arrival film -Never shown on Orbit -Fri 20:00 - -BOOKED - - - -NEW EPISODES - -A newly added series -Episodes 1 and 2 -Tue 20:00 - -BOOKED - - -THIS WEEK'S EVENTS - - - -WEEKLY EVENT - -Joe Bob Saturday -Tourist Trap (1979) -Sat 21:00 - -BOOKED - - -PPV SUNDAY - -WrestleMania III -The full event, 184 min -Sun 19:08 - -BOOKED - - -TAKEOVERS & SPECIALS - - - -SPECIAL - -Scottish Comedy Night -Fri and Sat, 21:00 to midnight -Sat 21:00 - -BOOKED - - -SUNDAY - -Terra Sunday -The week's centrepiece -Sun 20:00 - -BOOKED - - - -▲ ▼ -Week strip and columns -OK -Details, set a reminder -Back -Highlights -Unbooked proposals never appear here - - \ No newline at end of file diff --git a/design/whats-on/whats-on-tonight.svg b/design/whats-on/whats-on-tonight.svg deleted file mode 100644 index 5ffa265e..00000000 --- a/design/whats-on/whats-on-tonight.svg +++ /dev/null @@ -1,118 +0,0 @@ - -Tonight on Orbit - - - -Home - -What's On -TV Guide -Drive-In -Arcade -16:42 -Saturday 14 November - - - - -WHAT'S ON -Highlights -Tonight on Orbit - -Premieres & Specials -At the Drive-In - - -MOCK DATA - -EARLY EVENING -18:00 to 20:00 - - -18:00 - -Vortex Prime -Dragon Ball Z, Gundam Wing - -BLOCK - -18:30 - -Blue Planet II -Episode 3 of 7 - -NEW EPISODE ON ORBIT - -19:30 - -Futurama -Next in turn - -TONIGHT - - -PRIME TIME -20:00 to 22:00 - - -20:00 - -Back to the Future -Orbit Marquee · tickets open - -DRIVE-IN - -21:00 - -Scottish Comedy Night -Still Game, then Limmy's Show! - -WEEKLY EVENT - - -21:00 - -Joe Bob Saturday -Tourist Trap (1979) · 131 min - -WEEKLY EVENT - - -LATE -from 22:00 - - -22:00 - -The X-Files -Part 1, then part 2 at 22:45 - -STORY · 2 PARTS - -23:00 - -The Late Show -Evil Dead II · 84 min - -DRIVE-IN - -23:15 - -Afterburn -Ghost in the Shell: SAC - -BLOCK - - - -OK -Details -▶ on now -Watch live -◀ ▶ -Columns -Back -Highlights -Picks only: the TV Guide has every programme - - \ No newline at end of file