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 press numbers are dated 31 October, the day docs/PRESS.md counted them
xbsheng1f24ae9f9d0a
diff --git a/README.de.md b/README.de.mdindex 1021891c3..38b2c2d50 100644--- a/README.de.md+++ b/README.de.md@@ -447,7 +447,7 @@ ersten vier Tagen. Das Repo hieß bis zum 19. tv-vibehack; alte Links funktionieZwei Wochen später war es das Repository auf Platz 1 der GitHub-Trends in der Woche vom 19. bis 25. Oktober, mit über 46.000 Sternenund 5.700 Forks sowie 1,4 Millionen Aufrufen und 260.000 Klonen in 14 Tagen. Die Listen umfassen jetzt 450 TV-Modelle von 122 Marken.-Die Berichterstattung: 412 Artikel aus 54 Ländern und 229 Videos auf YouTube und Bilibili, alle in [docs/PRESS.md](docs/PRESS.md) (Stand: 30. Oktober 2026).+Die Berichterstattung: 412 Artikel aus 54 Ländern und 229 Videos auf YouTube und Bilibili, alle in [docs/PRESS.md](docs/PRESS.md) (Stand: 31. Oktober 2026).## Mitmachendiff --git a/README.md b/README.mdindex a039590f8..28abe5519 100644--- a/README.md+++ b/README.md@@ -480,7 +480,7 @@ first four days. The repo was called tv-vibehack until the 19th; old links work.Two weeks on, it was the #1 trending repository on GitHub for the week of 19–25 October, with over 46K starsand 5.7K forks, and 1.4M views and 260K clones in 14 days. The lists now cover 450 TV models from 122 brands.The coverage: 412 articles from 54 countries and 229 videos on YouTube and Bilibili, all in [docs/PRESS.md](docs/PRESS.md)-(numbers as of 30 October 2026).+(numbers as of 31 October 2026).## Contributingdiff --git a/README.nl.md b/README.nl.mdindex 06a5d220a..32062757b 100644--- a/README.nl.md+++ b/README.nl.md@@ -37,7 +37,7 @@Op 17 oktober 2026 plaatste ik voor-en-na-beelden van de tv van mijn ouders, die ik via wifi met Claude Code had opgeschoond.Het bericht kreeg 8,6 miljoen weergaven. Mensen gingen hetzelfde doen met hun eigen tv's en hun reacties vormden de basis voor de lijsten hier: meer dan 170 tv-modellen, aangeleverd door ruim 200 bijdragers in de eerste vier dagen. Tot en met de 19e heette deze repository tv-vibehack; oude links werken nog.-Twee weken later was het de #1 trending repository op GitHub in de week van 19 tot 25 oktober, met ruim 46.000 sterren en 5.700 forks, en 1,4 miljoen weergaven en 260.000 clones in 14 dagen. De lijsten tellen nu 450 tv-modellen van 122 merken. De berichtgeving: 412 artikelen uit 54 landen en 229 video's op YouTube en Bilibili, allemaal in [docs/PRESS.md](docs/PRESS.md) (stand 30 oktober 2026).+Twee weken later was het de #1 trending repository op GitHub in de week van 19 tot 25 oktober, met ruim 46.000 sterren en 5.700 forks, en 1,4 miljoen weergaven en 260.000 clones in 14 dagen. De lijsten tellen nu 450 tv-modellen van 122 merken. De berichtgeving: 412 artikelen uit 54 landen en 229 video's op YouTube en Bilibili, allemaal in [docs/PRESS.md](docs/PRESS.md) (stand 31 oktober 2026).**Thema's, schakelaars en uitbreidingen:** [cleanyour.tv/addons](https://cleanyour.tv/addons)diff --git a/README.pt-BR.md b/README.pt-BR.mdindex 5dc1c17c8..3edb3c493 100644--- a/README.pt-BR.md+++ b/README.pt-BR.md@@ -505,7 +505,7 @@ Duas semanas depois, o projeto era o repositório em alta nº 1 no GitHub na semcom 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 450 modelos de TV de 122 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).+(dados de 31 de outubro de 2026).## Como contribuirdiff --git a/README.tr.md b/README.tr.mdindex d95d79b95..157fac5f4 100644--- a/README.tr.md+++ b/README.tr.md@@ -483,7 +483,7 @@ bağlantılar çalışır.İki hafta sonra, 19–25 Ekim haftasında GitHub'ın 1 numaralı trend deposu oldu; 46 binden fazla yıldız, 5,7 binfork, 14 günde 1,4 milyon görüntülenme ve 260 bin klon. Listeler artık 450 TV modelini ve 122 markayı kapsıyor.Basındaki karşılığı: 412 makale (54 ülkeden) ve YouTube ile Bilibili'de 229 video, hepsi [docs/PRESS.md](docs/PRESS.md)-içinde (rakamlar 30 Ekim 2026 itibarıyla).+içinde (rakamlar 31 Ekim 2026 itibarıyla).## Katkıda bulunmadiff --git a/README.uk.md b/README.uk.mdindex 47c3705b4..e588927d0 100644--- a/README.uk.md+++ b/README.uk.md@@ -478,7 +478,7 @@ TV_HOST=192.168.1.50 tools/venv/bin/python -I tools/check.py examples/<your tv>/Через два тижні репозиторій став №1 у трендах GitHub за тиждень 19–25 жовтня: понад 46 тис. зірок і 5,7 тис.форків, 1,4 млн переглядів і 260 тис. клонів за 14 днів. Тепер списки охоплюють 450 моделей телевізорів від122 брендів. Публікації: 412 статей з 54 країн і 229 відео на YouTube та Bilibili, усе в [docs/PRESS.md](docs/PRESS.md)-(станом на 30 жовтня 2026 року).+(станом на 31 жовтня 2026 року).## Долучитисяdiff --git a/tests/test_press_as_of_date.py b/tests/test_press_as_of_date.pynew file mode 100644index 000000000..73270ce1a--- /dev/null+++ b/tests/test_press_as_of_date.py@@ -0,0 +1,273 @@+"""The day the story section says its press numbers were read, against the newest article they count.++Every front page that carries the story paragraph closes its coverage sentence with a parenthetical that+dates the three numbers: "(numbers as of 30 October 2026)" in README.md, "(Stand: 30. Oktober 2026)" in the+German page, "(stand 30 oktober 2026)" in the Dutch one, "(станом на 30 жовтня 2026 року)" in the Ukrainian+one, "(rakamlar 30 Ekim 2026 itibarıyla)" in the Turkish one and "(dados de 30 de outubro de 2026)" in the+Portuguese one. Nothing read any of them: tests/test_press_counts.py reads the three numbers and the totals+beside them, so the date could say anything.++It said a day too early on all six. docs/PRESS.md's intro states 412 articles from 54 countries and 229+videos, and 31 October is when those numbers were counted: 31092430 (30 October, 21:48) left the page at+"351 from 46 countries" and 188 videos, fe9ad320 (31 October, 00:01) took the videos to 229, and 8d5b54dc+(31 October, 13:52) and 57c00a40 (31 October, 14:08) brought the articles to 412 from 49 and then 54+countries. The newest article row in the same page is dated 31 October. A count read on 30 October cannot+hold an article published on the 31st, so each of the six pages offered a reader numbers dated a day older+than the newest article behind them.++The rule is the one the same page already applies to its video table: "views as of 30 Oct" may not be+earlier than the newest video row (tests/test_press_counts.py holds the two together, docs/workflows/press.md+step 3 says so). A page's date is held here the same way, down to 0 >= newest article row, and the clause is+read off every page whose story paragraph carries one - found by the words around it, not by a list of+names, so a translation that copies the sentence is read the day it lands.++A page that carries no such parenthetical is not judged: README.he.md writes its own "נכון ל־30 באוקטובר+2026" about the stars in the paragraph before, and its coverage sentence ends at the press link. Reading+only the parenthetical that follows the link is what keeps that sentence - a statement about a star count,+not about the press numbers - out of this check.++Run from the repository root: python3 -m unittest discover -s tests -v+"""+import re+import tempfile+from pathlib import Path+import unittest+++ROOT = Path(__file__).resolve().parents[1]+PRESS = ROOT / "docs" / "PRESS.md"++# The link every front page uses to point at the press list, in the story paragraph.+PRESS_LINK = re.compile(r"\[docs/PRESS\.md\]\([^)]*\)")+# The parenthetical that follows it, which dates the numbers: "(numbers as of 31 October 2026)".+CLAUSE = re.compile(r"\(([^()]{5,90})\)")+# A row's date cell in docs/PRESS.md is "31 Oct"; a month name is spelled out in each translation.+DATE_CELL = re.compile(r"\|\s*(\d{1,2}) ([A-Za-z]{3})\s*\|")+ARTICLE_MONTHS = {name: number for number, name in enumerate(+ ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), 1)}++# The month names a page in each language can date the numbers with, spelled the way a date spells them:+# German "31. Oktober", Ukrainian "31 жовтня" (genitive), Turkish "31 Ekim", Portuguese "31 de outubro".+MONTHS = (+ ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October",+ "November", "December"),+ ("Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober",+ "November", "Dezember"),+ ("januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober",+ "november", "december"),+ ("січня", "лютого", "березня", "квітня", "травня", "червня", "липня", "серпня", "вересня", "жовтня",+ "листопада", "грудня"),+ ("Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım",+ "Aralık"),+ ("janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro",+ "novembro", "dezembro"),+)+++def month_numbers():+ """{month name, casefolded: its number}, the six languages the front pages are written in."""+ out = {}+ for names in MONTHS:+ for number, name in enumerate(names, 1):+ out.setdefault(name.casefold(), number)+ return out+++MONTH_NAMES = month_numbers()+++def paragraphs(text):+ """The page's paragraphs, blank line by blank line."""+ return [block.strip() for block in re.split(r"\n\s*\n", text) if block.strip()]+++def story_paragraph(text):+ """The paragraph that repeats the press numbers: it links docs/PRESS.md and names YouTube."""+ for paragraph in paragraphs(text):+ if PRESS_LINK.search(paragraph) and "YouTube" in paragraph:+ return paragraph+ return None+++def date_clause(text):+ """The parenthetical that follows the press link in the story paragraph, or None.++ Only the text just after the link is read. A page may write "as of" elsewhere in the story - the+ Hebrew one dates the stars it had on 30 October in the sentence before - and that is not this date.+ """+ paragraph = story_paragraph(text)+ if paragraph is None:+ return None+ link = PRESS_LINK.search(paragraph)+ if link is None: # story_paragraph() only answers a paragraph that holds the link+ return None+ after = paragraph[link.end():]+ found = CLAUSE.search(after[:120])+ return found.group(1) if found else None+++def clause_date(clause):+ """(year, month, day) the clause names, or None when it names no date this check can read.++ Read around a month name: the day is the last number before it and the year the first four-digit+ number after it, which covers "31 October 2026", "31. Oktober 2026", "станом на 31 жовтня 2026 року",+ "rakamlar 31 Ekim 2026 itibarıyla" and "dados de 31 de outubro de 2026" without a rule per language.+ """+ if not clause:+ return None+ low = clause.casefold()+ found = []+ for word, month in MONTH_NAMES.items():+ match = re.search(rf"(?<!\w){re.escape(word)}(?!\w)", low)+ if match:+ found.append((match.start(), match.end(), month))+ for start, end, month in sorted(found):+ day = re.search(r"(\d{1,2})\D{0,8}$", low[:start])+ year = re.search(r"\d{4}", low[end:])+ if day and year:+ return (int(year.group()), month, int(day.group(1)))+ return None+++def dated_pages(root=ROOT):+ """[(name, date)] for every front page whose story dates the numbers, in name order."""+ out = []+ for path in sorted(Path(root).glob("README*.md")):+ date = clause_date(date_clause(path.read_text(encoding="utf-8")))+ if date is not None:+ out.append((path.name, date))+ return out+++def article_text(text):+ """docs/PRESS.md up to the Videos section, which is the articles' half of the page."""+ lines = text.splitlines()+ for number, line in enumerate(lines):+ if line.startswith("## Videos"):+ return "\n".join(lines[:number])+ return text+++def newest_article(text):+ """(month, day) of the newest article row, or None when the page has no dated row."""+ rows = []+ for day, month in DATE_CELL.findall(article_text(text)):+ if month in ARTICLE_MONTHS:+ rows.append((ARTICLE_MONTHS[month], int(day)))+ return max(rows) if rows else None+++def stale_pages(root=ROOT, press=None):+ """[(name, its date, the newest article row)] for every dated page behind that row.++ The rows in docs/PRESS.md carry a day and a month, no year, so the comparison is the month and the+ day: a page dated in another year is a typo a reader sees, not one this check can read.+ """+ press = Path(press) if press is not None else Path(root) / "docs" / "PRESS.md"+ newest = newest_article(press.read_text(encoding="utf-8"))+ if newest is None:+ return []+ out = []+ for name, (year, month, day) in dated_pages(root):+ if (month, day) < newest:+ out.append((name, (year, month, day), newest))+ return out+++class TreeTest(unittest.TestCase):+ """The six pages on main today, and the day their numbers were counted."""++ def test_no_page_dates_the_press_numbers_before_the_newest_article(self):+ behind = stale_pages()+ named = "; ".join(f"{name} says {day}/{month}/{year}, the newest article row is {newest[1]}/{newest[0]}"+ for name, (year, month, day), newest in behind)+ self.assertEqual([], behind,+ f"{named}: a count read that day cannot hold an article published later, so the "+ f"page's date has to move with the sweep")++ def test_the_pages_that_date_the_numbers_today(self):+ self.assertEqual(+ {"README.md", "README.de.md", "README.nl.md", "README.pt-BR.md", "README.tr.md", "README.uk.md"},+ {name for name, _ in dated_pages()},+ "the front pages that close the coverage sentence with a date; a translation that copies the "+ "clause is read without being added here, and one that stops dating its numbers is a change")++ def test_the_dated_pages_name_a_month_the_press_page_uses(self):+ for name, (year, month, day) in dated_pages():+ self.assertIn(month, set(ARTICLE_MONTHS.values()), f"{name}'s month is one the press page uses")+ self.assertEqual(2026, year,+ f"{name} dates the press numbers in a year the lists do not cover")+++class ReaderTest(unittest.TestCase):+ """The clause is read in every language the pages write it in, and only where it dates the numbers."""++ STORY = "The coverage: 412 articles from 54 countries and 229 videos, all in [docs/PRESS.md](docs/PRESS.md)"++ def test_each_page_s_clause_parses_to_its_own_day(self):+ expected = {+ "README.md": (2026, 10, 31),+ "README.de.md": (2026, 10, 31),+ "README.nl.md": (2026, 10, 31),+ "README.uk.md": (2026, 10, 31),+ "README.tr.md": (2026, 10, 31),+ "README.pt-BR.md": (2026, 10, 31),+ }+ for name, date in expected.items():+ text = (ROOT / name).read_text(encoding="utf-8")+ self.assertEqual(date, clause_date(date_clause(text)), f"{name}'s dated clause")++ def test_a_clause_in_each_language_reads_the_same_way(self):+ for clause, date in (+ ("numbers as of 31 October 2026", (2026, 10, 31)),+ ("Stand: 31. Oktober 2026", (2026, 10, 31)),+ ("stand 31 oktober 2026", (2026, 10, 31)),+ ("станом на 31 жовтня 2026 року", (2026, 10, 31)),+ ("rakamlar 31 Ekim 2026 itibarıyla", (2026, 10, 31)),+ ("dados de 31 de outubro de 2026", (2026, 10, 31)),+ ):+ self.assertEqual(date, clause_date(clause), clause)++ def test_a_page_that_dates_something_else_is_not_read(self):+ # README.he.md's story opens "נכון ל־30 באוקטובר 2026" about its star count and closes on the+ # press link with no parenthetical: no date of the press numbers, so nothing to hold.+ text = ("# CleanYourTV\n\nנכון ל־30 באוקטובר 2026 הוא צבר יותר מ־46 אלף כוכבים.\n"+ "סיקור בתקשורת: 412 כתבות ו־229 סרטונים ב־YouTube. [docs/PRESS.md](docs/PRESS.md)\n\n## Contributing\n")+ self.assertIsNone(date_clause(text))+ self.assertIsNone(clause_date(date_clause(text)))++ def test_an_unknown_month_is_not_read_as_a_date(self):+ self.assertIsNone(clause_date("numbers as of 31 Octember 2026"))++ def test_a_page_a_day_behind_the_newest_row_is_reported(self):+ with tempfile.TemporaryDirectory() as root:+ root = Path(root)+ (root / "docs").mkdir()+ (root / "docs" / "PRESS.md").write_text(+ "# Press\n\n412 articles.\n\n| Outlet | [Headline](https://example.com/a) | 31 Oct |\n"+ "\n## Videos\n\n| Channel | [Title](https://example.com/v) | 28 Oct | Views |\n",+ encoding="utf-8")+ (root / "README.md").write_text(+ "# CleanYourTV\n\nThe lists now cover 450 TV models from 122 brands. The coverage: 412 articles "+ "from 54 countries and 229 videos on YouTube and Bilibili, all in [docs/PRESS.md](docs/PRESS.md) "+ "(numbers as of 30 October 2026).\n", encoding="utf-8")+ self.assertEqual([("README.md", (2026, 10, 30), (10, 31))], stale_pages(root))++ def test_the_same_page_a_day_later_is_not_reported(self):+ with tempfile.TemporaryDirectory() as root:+ root = Path(root)+ (root / "docs").mkdir()+ (root / "docs" / "PRESS.md").write_text(+ "# Press\n\n| Outlet | [Headline](https://example.com/a) | 31 Oct |\n"+ "\n## Videos\n\n| Channel | [Title](https://example.com/v) | 28 Oct | Views |\n",+ encoding="utf-8")+ (root / "README.md").write_text(+ "# CleanYourTV\n\nThe coverage: 412 articles from 54 countries and 229 videos on YouTube and "+ "Bilibili, all in [docs/PRESS.md](docs/PRESS.md) (numbers as of 31 October 2026).\n",+ encoding="utf-8")+ self.assertEqual([], stale_pages(root))++ def test_the_video_rows_are_not_the_articles_half(self):+ text = ("# Press\n\n| Outlet | [Headline](https://example.com/a) | 29 Oct |\n"+ "\n## Videos\n\n| Channel | [Title](https://example.com/v) | 31 Oct | Views |\n")+ self.assertEqual((10, 29), newest_article(text))