Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
README: the Brazilian front page states the tree's totals and theme count
xbsheng6bd05a9e9a79
diff --git a/README.pt-BR.md b/README.pt-BR.mdindex c477ade26..a76b19644 100644--- a/README.pt-BR.md+++ b/README.pt-BR.md@@ -283,7 +283,7 @@ explicado em [Solução de problemas](docs/TROUBLESHOOTING.md).|---|---|| **Configuração** | Ordem do dock, aplicativos ocultos, aplicativo de TV ao vivo, de 4 a 7 blocos por linha e animações reduzidas. Tudo em [`config.xml`](launcher/app/src/main/res/values/config.xml). || **Configurações na TV** | Mantenha OK pressionado em Configurações para abrir as configurações do launcher. Opcionalmente, `launcher_settings_button` faz com que um clique normal as abra diretamente; as configurações da TV continuam disponíveis na página de configurações e no bloco do aplicativo correspondente. |-| **Temas** | Plano de fundo, papel de parede e layout definidos em um `config.json` enviado pelo Wi-Fi, sem recompilação. Dezoito temas estão incluídos em [`themes/`](themes/), incluindo o `default/` integrado. |+| **Temas** | Plano de fundo, papel de parede e layout definidos em um `config.json` enviado pelo Wi-Fi, sem recompilação. 21 temas estão incluídos em [`themes/`](themes/), incluindo o `default/` integrado. || **31 idiomas** | Segue o idioma da TV, com layout totalmente espelhado da direita para a esquerda em hebraico. || **Biblioteca de aplicativos** | Opcional: permite navegar por todos os aplicativos instalados e adicionar ou remover atalhos da tela inicial. Consulte [o guia da biblioteca de aplicativos](docs/app-library.md). || **Menu dos blocos** | Ativado por padrão (`tile_menu`): mantenha OK pressionado em um bloco para acessar Mover, Remover da tela inicial e Informações do app. Se estiver desativado, manter OK pressionado abre Informações do app. |@@ -503,7 +503,7 @@ quatro dias. Até o dia 19, o repositório se chamava tv-vibehack; os links antiDuas semanas depois, o projeto era o repositório em alta nº 1 no GitHub na semana de 19 a 25 de outubro,com mais de 46 mil estrelas e 5,7 mil forks, além de 1,4 milhão de visualizações e 260 mil clones em 14 dias.-As listas agora abrangem 420 modelos de TV de 108 marcas. A repercussão inclui 412 artigos em 54 países e+As listas agora abrangem 433 modelos de TV de 114 marcas. A repercussão: 412 artigos em 54 países e229 vídeos no YouTube e no Bilibili, todos relacionados em [docs/PRESS.md](docs/PRESS.md)(dados de 30 de outubro de 2026).diff --git a/docs/workflows/press.md b/docs/workflows/press.mdindex 58f2f1e8e..949e38e8a 100644--- a/docs/workflows/press.md+++ b/docs/workflows/press.md@@ -18,7 +18,10 @@test reads that sentence too: the page states the count twice, once in the card's alt text and once inthat sentence, so a reader who sees 352 in the picture and 351 in the story section is looking at a pagethat was half updated. Leave the counts out of the sentence and the test says the paragraph no longer- carries them.+ carries them. That paragraph is also read on the one front page that has it without the card:+ `README.pt-BR.md` shows no `docs/card.jpg`, so its numbers are held to `README.md`'s alt text and to+ `docs/PRESS.md` on their own, and its coverage clause has to open with a colon like the others+ ("A repercussão: 412 artigos ..."), since that colon is what the reader cuts the three numbers at.Redrawing `docs/featured.png` and `docs/card.jpg` needs Pillow, which the performance requirements install:`tools/venv/bin/pip install -r tools/requirements-perf.txt`, then`tools/venv/bin/python -I tools/readme_featured.py Fredoka.ttf docs/featured.png` anddiff --git a/docs/workflows/theme.md b/docs/workflows/theme.mdindex 323489ec2..8e76325e8 100644--- a/docs/workflows/theme.md+++ b/docs/workflows/theme.md@@ -13,12 +13,13 @@emulator. `tests/test_themes.py` fails without it.4. Add a row to the table in `themes/README.md` showing the screenshot, like the others.5. Bump the count in the Themes feature row of every front page that states it: today `README.md` ("`N ship- in themes/`"), `README.de.md`, `README.nl.md`, `README.uk.md` and `README.tr.md` (in digits), each in its- own words; the five are today's pages rather than the rule. `tests/test_readme_theme_count.py` counts the- folders that carry a `config.json` and fails on a page whose number is not that count, naming the page- and the folders (`README.nl.md says 10 themes and themes/ holds 11: aurora, ...`). A language whose- number words the test does not carry yet is a page it cannot read, so a new translation that states the- count needs those words in its table.+ in themes/`"), `README.de.md`, `README.nl.md`, `README.uk.md`, `README.tr.md` and `README.pt-BR.md` (the+ last two in digits), each in its own words; the six are today's pages rather than the rule.+ `tests/test_readme_theme_count.py` counts the folders that carry a `config.json` and fails on a page+ whose number is not that count, naming the page and the folders (`README.nl.md says 10 themes and+ themes/ holds 11: aurora, ...`). A language whose number words the test does not carry yet is a page it+ cannot read, so a new translation that states the count needs those words in its table - or writes the+ count in digits, which needs no table line.6. A look that needs a new key is a launcher switch first, in its own PR.Then run the tests: `python3 -m unittest discover -s tests -v`.diff --git a/tests/test_press_counts.py b/tests/test_press_counts.pyindex 547591b5a..874396cbb 100644--- a/tests/test_press_counts.py+++ b/tests/test_press_counts.py@@ -30,6 +30,12 @@ picture and 380 in the story below it, and nothing noticed. The pair is read herbeside it, which is where a regeneration lands - a contributor adding a list folder touches neither, sotheir PR stays green.+One front page writes that paragraph without the picture: README.pt-BR.md has no docs/card.jpg, so the pages+above - which come from the card - never reach it, and it sat at the 420 models and 108 brands README.md+stated when the translation landed while the card had moved on. Its coverage clause also opened with+"inclui" rather than a colon, the one shape every other page uses, so the reader found nothing to cut the+three numbers out of. Both are read here now, against README.md's alt text and docs/PRESS.md.+Run from the repository root: python3 -m unittest discover -s tests -v"""import re@@ -63,6 +69,12 @@ VIDEO_LINK = re.compile(r"\((https?://[^)\s]*(?:youtube\.com|bilibili\.com)/[^)\CARD_ALT = re.compile(r'src="docs/card(?:-halloween)?\.jpg"[^>]*?alt="([^"]*)"')# The front pages that show the card and repeat its numbers in the story section today.STORY_PAGES = ("README.md", "README.de.md", "README.nl.md", "README.uk.md", "README.tr.md")+# One front page carries the story paragraph without the card: README.pt-BR.md has no+# docs/card.jpg, so card_alt_texts() never reaches it and none of the checks above read the+# numbers it writes. It said the totals README.md had when the translation landed (420 models,+# 108 brands) and its coverage clause opened with "inclui" rather than a colon, so coverage_numbers()+# cut nothing out of it either.+STORY_WITHOUT_CARD = "README.pt-BR.md"# The story paragraph's closing sentence, which repeats the three numbers in prose: "The coverage: 351# articles from 46 countries and 229 videos on YouTube and Bilibili, all in [docs/PRESS.md](docs/PRESS.md)".# Every translation writes its own words around the numbers but keeps them in that order, so they are read@@ -451,6 +463,19 @@ class FrontPageCoverageTest(unittest.TestCase):f"{name} states (articles, countries, videos) {read} in its coverage sentence and "f"docs/PRESS.md holds {self.expected}")+ def test_the_page_with_the_story_but_no_card_repeats_the_counts(self):+ # README.pt-BR.md is the one page whose story paragraph the loop above cannot reach, since the+ # pages come from the card. Its three numbers are held to docs/PRESS.md like the others.+ read = coverage_numbers((ROOT / STORY_WITHOUT_CARD).read_text(encoding="utf-8"))+ self.assertIsNotNone(+ read, f"{STORY_WITHOUT_CARD} has no story paragraph that names docs/PRESS.md and YouTube, "+ f"so the coverage numbers it used to repeat are gone")+ self.assertEqual(3, len(read or ()), f"{STORY_WITHOUT_CARD}'s coverage sentence reads as {read}")+ self.assertEqual(+ self.expected, read,+ f"{STORY_WITHOUT_CARD} states (articles, countries, videos) {read} in its coverage "+ f"sentence and docs/PRESS.md holds {self.expected}")+def test_the_walk_reads_the_sentence_this_file_was_written_for(self):# A reader answering () or None for every page would pass nothing above; each page carries three# numbers today, and the English one is the page this file's own example is quoted from.@@ -489,6 +514,18 @@ class FrontPageTotalsTest(unittest.TestCase):f"{name} states (TV models, brands) {read} in its story sentence and its card states "f"{card}; tools/gen_tables.py does not rewrite that sentence, so it moves with the card")+ def test_the_page_with_the_story_but_no_card_states_the_totals_README_states(self):+ # README.pt-BR.md has the story sentence but no card, so the loop above never reads it: it was+ # left at 420 models and 108 brands while README.md's alt text had moved to 433 and 114. The+ # card's alt text is the generated copy, so that is what this page is held to.+ card = card_totals(self.pages["README.md"])+ read = catalogue_numbers((ROOT / STORY_WITHOUT_CARD).read_text(encoding="utf-8"))+ self.assertEqual(2, len(read or ()), f"{STORY_WITHOUT_CARD}'s story sentence reads as {read}")+ self.assertEqual(+ card, read,+ f"{STORY_WITHOUT_CARD} states (TV models, brands) {read} in its story sentence and "+ f"README.md's card states {card}; tools/gen_tables.py does not rewrite that sentence")+def test_the_walk_reads_the_totals_this_file_was_written_for(self):# A reader answering () or None for every page would pass the rule above; each page carries two# numbers today, and README.md is the page this file's own example is quoted from.diff --git a/tests/test_readme_theme_count.py b/tests/test_readme_theme_count.pyindex ee8f05535..3b2d660e3 100644--- a/tests/test_readme_theme_count.py+++ b/tests/test_readme_theme_count.py@@ -26,7 +26,10 @@ out of the table on purpose, since "een" and "ein" are also the articles these lnoun, and a single-theme repo is not a thing. Another language that writes the count as a word meansanother line in that table: the last page added did not fail here, it simply became a page this filecould not see. README.tr.md, the fifth page, writes it in digits ("15 tema"), which NUMBER reads-without a table line.+without a table line. README.pt-BR.md, the sixth, writes it in digits too ("21 temas") and was the+page this file could not see while it said "Dezoito temas": Portuguese words were not in the table,+so the claim was read as no claim at all, and the pin below named five pages while the tree held+twenty-one themes and that page said eighteen.That one table is what README.md's row is read through too. The row had a twelve-word table of its ownwhile the sentences were read through one that carries twenty, and the two agreed only while themes/@@ -178,13 +181,17 @@ class ReadmeThemeCountTest(unittest.TestCase):f"{page.name} says {claimed} themes and themes/ holds {len(shipped)}: "f"{', '.join(shipped)}")# The walk above passes while finding nothing, which is how the German and Dutch rows went- # stale in the first place: these five pages state the count today, so one that stops+ # stale in the first place: these six pages state the count today, so one that stops# saying it fails here rather than quietly leaving the check. README.uk.md joined them with# the Ukrainian words above; before that it stated its count and this list still read three.- # README.tr.md states its count in digits, so it needs no words in the table.+ # README.tr.md states its count in digits, so it needs no words in the table, and+ # README.pt-BR.md is the sixth: it stated "Dezoito temas" (eighteen, against twenty-one in+ # themes/) where this list did not look, so a page that leaves the list now fails here in+ # the same sentence that names the pages which still state the count.self.assertEqual(sorted(set(stating)),- ["README.de.md", "README.md", "README.nl.md", "README.tr.md", "README.uk.md"],- "the front pages that state the theme count are not the five that did: "+ ["README.de.md", "README.md", "README.nl.md", "README.pt-BR.md",+ "README.tr.md", "README.uk.md"],+ "the front pages that state the theme count are not the six that did: "f"{sorted(set(stating))}")@@ -244,6 +251,13 @@ class CountTest(unittest.TestCase):self.assertEqual([({12}, "| **Themes** | 12 liegen in [`themes/`](themes/) |")],claims("| **Themes** | 12 liegen in [`themes/`](themes/) |"))+ def test_a_portuguese_row_in_digits_is_read(self):+ """README.pt-BR.md's row as the page writes it: the count in digits, before the link."""+ portuguese = ("| **Temas** | Plano de fundo, papel de parede e layout definidos em um "+ "`config.json` enviado pelo Wi-Fi, sem recompilação. 21 temas estão incluídos em "+ "[`themes/`](themes/), incluindo o `default/` integrado. |")+ self.assertEqual([({21}, portuguese)], claims(portuguese))+def test_a_row_that_does_not_state_a_count_is_not_a_claim(self):tools = "| [`theme.sh`](tools/theme.sh) | Push a folder from [`themes/`](themes/) |"self.assertEqual([], claims(tools))