diff --git a/android/app/src/main/java/tv/orbit/classic/ChannelSchedule.kt b/android/app/src/main/java/tv/orbit/classic/ChannelSchedule.kt index 0a5e8060..97d9ff33 100644 --- a/android/app/src/main/java/tv/orbit/classic/ChannelSchedule.kt +++ b/android/app/src/main/java/tv/orbit/classic/ChannelSchedule.kt @@ -456,23 +456,16 @@ private const val CHANNEL_POOL_VERSION = 5 internal const val SCHEDULE_AHEAD_MS = 7 * 24 * 60 * 60_000L internal const val SCHEDULE_TOP_UP_MS = 6 * 24 * 60 * 60_000L -/** - * A channel still on its first read of its list books only this far ahead (Paul, 1 December 2026: Horror TV went on air with 9 - * of its 68 shows and booked a whole week from them). Each round adds a little more from whatever has been read by then, so - * the full list is on air within hours, not a week later; once the list is read, the week ahead is booked as usual. - */ -internal const val FILLING_AHEAD_MS = 6 * 60 * 60_000L -internal const val FILLING_TOP_UP_MS = 4 * 60 * 60_000L -/** While filling, programmes starting within this of now are kept; anything later booked before is planned again. */ -internal const val FILLING_KEEP_MS = 60 * 60_000L +/** When a channel is booked again with its whole list ([rebookedFrom]), programmes starting within this of now are kept. */ +internal const val REBOOK_KEEP_MS = 60 * 60_000L /** - * A plan booked further ahead than a filling channel books ([FILLING_AHEAD_MS]), as a channel's first plan was before 1 December - * 2026: programmes starting more than [FILLING_KEEP_MS] from now are dropped (none of them has aired), and the place is taken - * from what's kept, so planning carries on in order with no repeats. + * A channel's plan booked from the first few shows of its list, to be booked again now the whole list is read (Paul, 1 December + * 2026: "build ... for the week or 2 with all the shows"): programmes starting more than [REBOOK_KEEP_MS] from now are dropped + * (none of them has aired), and the place is taken from what's kept, so planning carries on in order with no repeats. */ -internal fun trimmedForFilling(plan: ChannelPlan, aired: ScheduleCursor, nowMs: Long): ChannelPlan { - val cut = nowMs + FILLING_KEEP_MS +internal fun rebookedFrom(plan: ChannelPlan, aired: ScheduleCursor, nowMs: Long): ChannelPlan { + val cut = nowMs + REBOOK_KEEP_MS if (plan.entries.none { it.startMs > cut }) return plan val kept = plan.entries.filter { it.startMs <= cut } return ChannelPlan(kept, airedCursor(aired, kept, Long.MAX_VALUE)) @@ -1352,7 +1345,7 @@ internal fun topUpPlan(existing: ChannelPlan?, aired: ScheduleCursor, pool: List seasonEndMs: Long? = null, /** Film channels only: [NETWORK_FILM_REST_MS]. */ network: NetworkRest = NoNetworkRest, - /** How far ahead to book, and when to add more: shorter for a channel still on its first read ([FILLING_AHEAD_MS]). */ + /** How far ahead to book, and when to add more. */ aheadMs: Long = SCHEDULE_AHEAD_MS, topUpMs: Long = SCHEDULE_TOP_UP_MS): ChannelPlan? { val kept = existing?.let { plan -> plan.copy(entries = plan.entries.dropWhile { it.endMs < nowMs - SCHEDULE_KEEP_PAST_MS }) } if (kept != null && kept.endMs >= nowMs + topUpMs) return kept diff --git a/android/app/src/main/java/tv/orbit/classic/ChannelScheduler.kt b/android/app/src/main/java/tv/orbit/classic/ChannelScheduler.kt index f4e71613..8cd9aee1 100644 --- a/android/app/src/main/java/tv/orbit/classic/ChannelScheduler.kt +++ b/android/app/src/main/java/tv/orbit/classic/ChannelScheduler.kt @@ -13,6 +13,8 @@ internal const val POOL_REFRESH_MS = 7 * 24 * 60 * 60_000L */ internal const val POOL_JITTER_MS = 48 * 60 * 60_000L internal const val POOL_ROUTINE_GAP_MS = 30 * 60_000L +/** A new channel's first read is finished in one go at most this often, so two never run at once ([ChannelScheduler.refreshStepwise]). */ +internal const val FIRST_READ_FINISH_GAP_MS = 10 * 60_000L internal fun poolJitterMs(number: Int): Long = (number.toLong() * 7_919L % 48L) * 60 * 60_000L /** Whether a cached list is old enough for its routine refresh. */ internal fun poolRefreshDue(fetchedAtMs: Long, number: Int, nowMs: Long) = nowMs - fetchedAtMs >= POOL_REFRESH_MS + poolJitterMs(number) @@ -82,6 +84,8 @@ internal class ChannelScheduler(private val store: ScheduleStore, } /** When this TV last made a routine (weekly) list refresh; at most one per [POOL_ROUTINE_GAP_MS]. */ @Volatile internal var lastRoutineRefreshMs = 0L + /** When a first read was last finished in one go ([refreshStepwise]): one channel at a time. */ + @Volatile private var lastFirstReadFinishMs = 0L /** The order routine refreshes go in: see [RoutineQueue]. */ internal val routineQueue = RoutineQueue() /** Disk only and quick, so the guide and player agree from the first frame after a restart. */ @@ -431,9 +435,18 @@ internal class ChannelScheduler(private val store: ScheduleStore, val start = resuming ?: RefreshProgress(signature, full, now) val refresh = PoolRefresh(programming, choices, cached.series, earlierFilms(loop)) val waiting = synchronized(refreshWaiting) { refreshWaiting.size + if (number in refreshWaiting) 0 else 1 } - val share = refreshShare(BackgroundPacing.budget, BackgroundPacing.usedThisHour(), waiting) + // A new channel's first read (its pool has no signature yet) is finished in one go, at setup's pace and within setup's + // hourly cap, one channel at a time (Paul, 1 December 2026), so its week is booked from all its shows within minutes, + // not a fair share a round over days. Later refreshes go a fair share at a time as before. + val firstRead = cached.signature.isEmpty() && now - lastFirstReadFinishMs >= FIRST_READ_FINISH_GAP_MS + if (firstRead) lastFirstReadFinishMs = now + val share = if (firstRead) Int.MAX_VALUE else refreshShare(BackgroundPacing.budget, BackgroundPacing.usedThisHour(), waiting) val step = try { - refresh.step(start, share, now, pacedOut = { refreshPacedOut(BackgroundPacing.budget, BackgroundPacing.usedThisHour()) }, + if (firstRead) BackgroundPacing.asSetup { + refresh.step(start, share, now, pacedOut = { false }, + read = { entry -> checkActive(); readEntry(session, programming, choices, entry, checkActive) }, + save = { store.saveRefresh(userId, number, it) }) + } else refresh.step(start, share, now, pacedOut = { refreshPacedOut(BackgroundPacing.budget, BackgroundPacing.usedThisHour()) }, read = { entry -> checkActive(); readEntry(session, programming, choices, entry, checkActive) }, save = { store.saveRefresh(userId, number, it) }) } catch (failure: EmbyCheckException) { @@ -453,6 +466,8 @@ internal class ChannelScheduler(private val store: ScheduleStore, val fetched = if (carried > 0) now - POOL_REFRESH_MS + PARTIAL_POOL_RETRY_MS else now val signed = keepRefound(userId, programming, EmbySampleSession.PoolRead(step.pool, step.progress.requests, carried, step.progress.refound)) ScheduleStore.SavedPool(step.pool, fetched, signed).also { + // A first read just finished: the plan it booked from a few shows is booked again with all of them. + if (cached.signature.isEmpty()) store.markRebook(number) store.savePool(userId, number, it); store.deleteRefresh(number); routineQueue.note(number, fetched, now) Log.i("OrbitSchedule", "channel=$number poolRefreshDone full=$full entries=${refresh.entries.size} read=${step.progress.done.size} carried=$carried dropped=$dropped requests=${step.progress.requests} rounds=${step.progress.rounds}") } @@ -486,7 +501,9 @@ internal class ChannelScheduler(private val store: ScheduleStore, } /** Starts a channel that has no loop yet: reads its pool, then gives it a small fallback made from that pool. */ - fun seedLoop(session: EmbySampleSession, userId: String, programming: ChannelProgramming, checkActive: () -> Unit = {}): SampleChannel { + fun seedLoop(session: EmbySampleSession, userId: String, programming: ChannelProgramming, + /** One channel switched on by itself reads its whole list before booking its week (Paul, 1 December 2026). */ + whole: Boolean = false, checkActive: () -> Unit = {}): SampleChannel { val choices = store.loadChoices(userId, programming.number) // A fresh pool already on the box (from another room, or turned on before) needs no reading of the library. store.loadPool(userId, programming.number)?.takeIf { clock() - it.fetchedAtMs < POOL_REFRESH_MS && it.signature == "${programming.signature}#${choices.tag}" } @@ -494,7 +511,7 @@ internal class ChannelScheduler(private val store: ScheduleStore, val number = programming.number val signature = "${programming.signature}#${choices.tag}" // A first read part-way through, already on air: it carries on in the background round, not from the top here. - store.loadPool(userId, number)?.takeIf { store.loadRefresh(userId, number)?.target == signature } + store.loadPool(userId, number)?.takeIf { !whole && store.loadRefresh(userId, number)?.target == signature } ?.let { cached -> loopFromPool(cached.series, programming)?.let { return it } } // Only as much as the channel needs to go on air (Paul, 30 November 2026: a new household's 40 channels took hours, // each read whole before the next began). The rest of the list fills in a fair share at a time ([refreshStepwise]). @@ -502,7 +519,7 @@ internal class ChannelScheduler(private val store: ScheduleStore, val refresh = PoolRefresh(programming, choices, emptyList()) val step = refresh.step(RefreshProgress(signature, false, now), Int.MAX_VALUE, now, pacedOut = { false }, read = { entry -> checkActive(); readEntry(session, programming, choices, entry, checkActive) }, - save = { store.saveRefresh(userId, number, it) }, onAir = OnAirRule(programming)) + save = { store.saveRefresh(userId, number, it) }, onAir = if (whole) null else OnAirRule(programming)) val loop = loopFromPool(step.pool, programming) ?: run { store.deleteRefresh(number) throw EmbyCheckException("None of ${programming.name}'s shows were found with episodes to schedule.") @@ -624,18 +641,17 @@ internal class ChannelScheduler(private val store: ScheduleStore, // Under the plan lock, so a programme being re-timed for its real length (PlanEdits) is never written over. val (existing, plan) = synchronized(PlanEdits.lock) { base = placeToPlanFrom(store.loadPlan(userId, number), progress, now) - // Still on its first read: a few hours at a time, so the shows read next join within hours, not a week later. - val filling = pool?.signature?.isEmpty() == true - val existing = store.loadPlan(userId, number)?.let { if (filling) trimmedForFilling(it, progress?.aired ?: ScheduleCursor(), now) else it } - if (filling) Log.i("OrbitSchedule", "channel=$number filling plannedUntil=${existing?.endMs?.let { (it - now) / 60_000 }}min") + // Its whole list just read: booked again from the next hour with every show, once. + val rebook = store.rebookPending(number) && pool?.signature?.isNotEmpty() == true + val existing = store.loadPlan(userId, number)?.let { if (rebook) rebookedFrom(it, progress?.aired ?: ScheduleCursor(), now) else it } + if (rebook) Log.i("OrbitSchedule", "channel=$number rebookWholeList shows=${pool?.series?.size} kept=${existing?.entries?.size}") val plan = topUpPlan(existing, base, pool?.series?.let { withOpenApprovals(withoutOddRuntimes(withoutFailed(withinRuns(it, programming.episodeRuns), store.loadFailed(userId)), number, store.runtimeReleases().load()), choices) }?.let { if (programming.mixedTurns) mixedTurnOrder(it, number) else it }, now, programming.filmRestMs, programming.finishTogether, programming.dayParts, // SYNDICATE, a series channel that books films every day, also rests a film another channel shows within five days // (25 November 2026), as the film channels do: a preference, given up only when nothing else fits, like a clash. avoid = { show, startMs, endMs -> others(show, startMs, endMs) || ((number == SYNDICATE_NUMBER || number == WONDER_TV_NUMBER || number == HEROES_LIVE_NUMBER) && show.isFilm && restingElsewhere(show, startMs)) }, shuffle = programming.shuffleEpisodes, mixed = programming::mixes, weightOf = programming.tierWeights?.let { programming::weightOf }, adaptiveRest = programming.adaptiveFilmRest, fileRestMs = programming.fileRestMs, stories = programming.storyGrouping, shorts = programming.shorts, marathon = programming.marathon, - seasonEndMs = seasonEndMs(number, now), network = network, - aheadMs = if (filling) FILLING_AHEAD_MS else SCHEDULE_AHEAD_MS, topUpMs = if (filling) FILLING_TOP_UP_MS else SCHEDULE_TOP_UP_MS) ?: throw EmbyCheckException("${programming.name} has no episodes to schedule.") + seasonEndMs = seasonEndMs(number, now), network = network) ?: throw EmbyCheckException("${programming.name} has no episodes to schedule.") // Franchise films booked side by side go in release order, among the new bookings only (Continuity.kt). val ordered = if (plan === existing) plan else runCatching { val from = plan.entries.indexOfFirst { it.startMs >= (existing?.endMs ?: Long.MIN_VALUE) }.takeIf { it >= 0 } ?: plan.entries.size @@ -647,6 +663,7 @@ internal class ChannelScheduler(private val store: ScheduleStore, } }.getOrDefault(plan) if (ordered !== existing) store.savePlan(userId, number, ordered) + if (rebook) store.clearRebook(number) existing to ordered } // Stage C, report only: every work any plan books, so "not yet shown on Orbit" has evidence. 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 e2624ba9..274ffaad 100644 --- a/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt +++ b/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt @@ -650,7 +650,8 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea val context = coroutineContext scheduler.setEnabled(active.accountId, programming.number, true) active.libraryTitles = runCatching { catalogue.libraryTitles(active.accountId) }.getOrNull() - val loop = existing ?: BackgroundPacing.setup { scheduler.seedLoop(active, active.accountId, programming) { context.ensureActive() } }.also { extraChannels = extraChannels + it } + // On by itself: its whole list read first, so its week is booked from every show. + val loop = existing ?: BackgroundPacing.setup { scheduler.seedLoop(active, active.accountId, programming, whole = true) { context.ensureActive() } }.also { extraChannels = extraChannels + it } BackgroundPacing.setup { scheduler.topUp(active, active.accountId, programming, loop) { context.ensureActive() } }.also { scheduler.load(active.accountId, loop)?.let { on -> scheduledChannels = scheduledChannels + (programming.number to on) } } diff --git a/android/app/src/main/java/tv/orbit/classic/ScheduleStore.kt b/android/app/src/main/java/tv/orbit/classic/ScheduleStore.kt index 35c96e43..6284cb9a 100644 --- a/android/app/src/main/java/tv/orbit/classic/ScheduleStore.kt +++ b/android/app/src/main/java/tv/orbit/classic/ScheduleStore.kt @@ -304,6 +304,13 @@ internal class ScheduleStore(private val directory: File) { } ?: ChannelChoices() /** Only when you ask for the guide to change now. The saved place and your choices stay. */ + /** + * A channel whose first read of its list has just finished (Paul, 1 December 2026): its plan, booked from the first few + * shows, is booked again from the next hour with all of them, once. Kept as a file, so a restart in between still does it. + */ + fun markRebook(number: Int) { File(directory, "rebook-$number").writeText("1") } + fun rebookPending(number: Int) = File(directory, "rebook-$number").exists() + fun clearRebook(number: Int) { File(directory, "rebook-$number").delete() } fun deletePlan(number: Int) { listOf("schedule-$number.json", "schedule-$number.json.prev").forEach { File(directory, it).delete() } } /** diff --git a/android/app/src/main/java/tv/orbit/classic/ServerRequests.kt b/android/app/src/main/java/tv/orbit/classic/ServerRequests.kt index 9fed6c35..7745c970 100644 --- a/android/app/src/main/java/tv/orbit/classic/ServerRequests.kt +++ b/android/app/src/main/java/tv/orbit/classic/ServerRequests.kt @@ -168,6 +168,16 @@ internal object BackgroundPacing { try { return block() } finally { inBackground.set(was) } } + /** + * Runs [block] as channel setup even from the background round (a new channel's first read finished in one go, 1 December + * 2026): paced and capped as setup is, not counted against the background budget. + */ + fun asSetup(block: () -> T): T { + val was = inBackground.get() + inBackground.set(false) + try { return setup(block) } finally { inBackground.set(was) } + } + /** Runs [block] as channel setup: its server requests keep [SETUP_GAP_MS] apart, with no hourly budget. */ fun setup(block: () -> T): T { val was = inSetup.get() diff --git a/android/app/src/test/java/tv/orbit/classic/FirstReadFillingTest.kt b/android/app/src/test/java/tv/orbit/classic/FirstReadFillingTest.kt index d508845d..d8756e67 100644 --- a/android/app/src/test/java/tv/orbit/classic/FirstReadFillingTest.kt +++ b/android/app/src/test/java/tv/orbit/classic/FirstReadFillingTest.kt @@ -1,17 +1,21 @@ package tv.orbit.classic import org.junit.Assert.assertEquals +import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue +import org.junit.Rule import org.junit.Test +import org.junit.rules.TemporaryFolder import java.time.LocalDate import java.time.ZoneId /** - * A new channel on its first read (Paul, 1 December 2026: "so it doesn't just run a small pool for myself or new users"): - * it books only hours ahead while its list is read, so shows read later join within hours; a week booked from a few shows - * before this change is cut back to the next hour and planned again, in order, with nothing repeated. + * A new channel's first weeks from its whole list (Paul, 1 December 2026: "build from its initial block for the week or 2 with + * all the shows then scan like we have been doing"): a week booked from the first few shows read is booked again, once the + * whole list is in, from the next hour, in order, with nothing repeated or skipped. */ class FirstReadFillingTest { + @get:Rule val folder = TemporaryFolder() private val zone = ZoneId.systemDefault() private val minute = 60_000L private val hour = 60 * minute @@ -23,45 +27,32 @@ class FirstReadFillingTest { l.zipWithNext().all { (a, b) -> eps[(eps.indexOf(a.mark) + 1) % eps.size] == b.mark } } - @Test fun whileFillingItBooksHoursNotAWeekAndLaterShowsJoinSoon() { - var plan: ChannelPlan? = null; var aired = ScheduleCursor(); val seen = mutableMapOf() - // Rounds every hour; the list is read three shows a round, as the background read does a fair share at a time. - for (round in 0 until 8) { - val now = start() + round * hour - val read = all.take(minOf(all.size, 3 + 3 * round)) - plan?.let { aired = airedCursor(aired, it.entries, now) } - plan = topUpPlan(plan, aired, read, now, aheadMs = FILLING_AHEAD_MS, topUpMs = FILLING_TOP_UP_MS)!! - assertTrue("never more than six hours ahead", plan.endMs <= now + FILLING_AHEAD_MS + hour) - plan.entries.forEach { e -> seen.putIfAbsent(e.startMs, e)?.let { assertEquals("bookings kept", it, e) } } - } - val booked = seen.values.sortedBy { it.startMs } - // Shows read in the fourth round are on air within a few hours of being read, not a week later. - val firstOfShow10 = booked.first { it.seriesId == "s-Show10" }.startMs - assertTrue(firstOfShow10 < start() + 12 * hour) - assertTrue(inOrder(booked, all)) - } - - @Test fun aWeekBookedFromAFewShowsIsCutBackAndPlannedAgainInOrder() { + @Test fun aWeekBookedFromAFewShowsIsBookedAgainWithAllOfThem() { val few = all.take(3) val week = topUpPlan(null, ScheduleCursor(), few, start())!! assertTrue(week.endMs > start() + 6 * 24 * hour) val now = start() + 75 * minute val aired = airedCursor(ScheduleCursor(), week.entries, now) - val trimmed = trimmedForFilling(week, aired, now) - assertTrue(trimmed.entries.all { it.startMs <= now + FILLING_KEEP_MS }) - assertEquals("what's on now and next is kept", week.entries.takeWhile { it.startMs <= now + FILLING_KEEP_MS }, trimmed.entries) - val more = topUpPlan(trimmed, aired, all, now, aheadMs = FILLING_AHEAD_MS, topUpMs = FILLING_TOP_UP_MS)!! - assertEquals(trimmed.entries, more.entries.take(trimmed.entries.size)) - assertTrue("shows read since join", more.entries.any { it.seriesId !in few.map { s -> s.id } }) - assertTrue("nothing repeated or skipped", inOrder(more.entries, all)) - // Once the whole list is read, it books the week again. - val full = topUpPlan(more, aired, all, now)!! - assertTrue(full.endMs > now + 6 * 24 * hour) - assertTrue(inOrder(full.entries, all)) + val cut = rebookedFrom(week, aired, now) + assertEquals("what's on now and next is kept", week.entries.takeWhile { it.startMs <= now + REBOOK_KEEP_MS }, cut.entries) + val again = topUpPlan(cut, aired, all, now)!! + assertEquals(cut.entries, again.entries.take(cut.entries.size)) + assertTrue("the whole week ahead again", again.endMs > now + 6 * 24 * hour) + assertEquals("every show in the first week", all.map { it.id }.toSet(), again.entries.filter { it.startMs < now + 24 * hour }.map { it.seriesId }.toSet()) + assertTrue("nothing repeated or skipped", inOrder(again.entries, all)) } - @Test fun aPlanWithinTheFillingWindowIsLeftAlone() { - val plan = topUpPlan(null, ScheduleCursor(), all, start(), aheadMs = FILLING_AHEAD_MS)!! - assertTrue(trimmedForFilling(plan, ScheduleCursor(), start() + 6 * hour) === plan) + @Test fun aPlanWithNothingLaterIsLeftAlone() { + val plan = topUpPlan(null, ScheduleCursor(), all, start(), aheadMs = 3 * hour)!! + assertTrue(rebookedFrom(plan, ScheduleCursor(), start() + 3 * hour) === plan) + } + + @Test fun theRebookIsRememberedAcrossARestartAndDoneOnce() { + val store = ScheduleStore(folder.newFolder()) + assertFalse(store.rebookPending(HORROR_TV_NUMBER)) + store.markRebook(HORROR_TV_NUMBER) + assertTrue(ScheduleStore(folder.root.listFiles()!!.first()).rebookPending(HORROR_TV_NUMBER)) + store.clearRebook(HORROR_TV_NUMBER) + assertFalse(store.rebookPending(HORROR_TV_NUMBER)) } } diff --git a/docs/CHANGELOG-build87.md b/docs/CHANGELOG-build87.md index 21acb8a8..40fa8386 100644 --- a/docs/CHANGELOG-build87.md +++ b/docs/CHANGELOG-build87.md @@ -2,13 +2,14 @@ Build 86 plus the change below, on `horror-tv`. Nothing here changes a channel's home, ratings rules or dayparts. -## A new channel no longer books a week from its first few shows (Paul, 1 December 2026) +## A new channel's first week is booked from its whole list (Paul, 1 December 2026) -- A channel goes on air after reading only part of its list (Horror TV read 9 of its 68 shows, Wonder TV 7, Heroes Live 10), - and it used to book its whole week ahead from those. Now, while a channel's first read is still going, it books only six - hours ahead and adds more each round from whatever has been read by then, so the rest of its list is on air within hours. - Once the list is read, it books the week ahead as before. This is the same for every household and every new channel. -- A week already booked from a first read (Horror TV, Wonder TV and Heroes Live downstairs) is cut back to what starts - within the next hour, and planned again from there in order: nothing that has aired is repeated, and nothing is skipped. - Channels that have finished reading their list are untouched. +- **Switching one channel on** now reads its whole list before booking its week, at setup's pace (a minute or few), so the + first week is planned from every show, as the switch-on message always said. +- **A channel that went on air from part of its list** (a new household's setup, where every channel comes on quickly) has + the rest of its list read in one go, at setup's pace and within setup's hourly cap, one channel at a time, instead of a + fair share a round over days. When the list is in, the channel is booked again once, from the next hour, with all its + shows: what's on now and next is kept, episodes carry on in order, and nothing that has aired repeats. +- After that, its list is refreshed a fair share at a time, as every channel's is. +- Downstairs, Heroes Live (30 of 65 read), Horror TV (16 of 68) and Wonder TV (13) go this way after the install. - Tests: FirstReadFillingTest.