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
fix #2497: views-as-of may be later than the newest row
Gathin23e362acd008fd
diff --git a/docs/workflows/press.md b/docs/workflows/press.mdindex 6fccec30d..f3d3fa806 100644--- a/docs/workflows/press.md+++ b/docs/workflows/press.md@@ -21,7 +21,7 @@`| Channel | [Title](<url>) | Date | Views |`, in the table's date form (`27 Oct`), newest first.Two numbers above that table are read from the rows by `tests/test_press_counts.py` and move with it:the `[N videos]` count at the end of the intro line (its link points at the section itself), and the day- in `views as of <date>` - the newest row's date, so a video posted after the last read leaves the line+ in `views as of <date>` - no earlier than the newest row's date, so a video posted after the last read leaves the linestale ("the views are 'as of 27 Oct' and the newest video is dated 28 Oct"). A row added without movingthe count fails as "the intro says 147 videos and the Videos section holds 148 rows".diff --git a/tests/test_press_counts.py b/tests/test_press_counts.pyindex de101cacf..fdad8782f 100644--- a/tests/test_press_counts.py+++ b/tests/test_press_counts.py@@ -163,7 +163,7 @@ def video_problems(text=None):if as_of is None:problems.append("the Videos section no longer says when the views were read ""('views as of <date>')")- elif newest is not None and as_of[1] in MONTHS and newest != (MONTHS[as_of[1]], as_of[0]):+ elif newest is not None and as_of[1] in MONTHS and newest > (MONTHS[as_of[1]], as_of[0]):problems.append(f"the views are 'as of {as_of[0]} {as_of[1]}' and the newest video is dated "f"{rows[0][2].replace(' ', ' ')}")seen = {}