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
Round AM fix for #2760: a local permission or sandbox denial (EACCES, EPERM) never reached the TV either, as @SaviorOneZero found; two pinned cases
Gathin232f297dd7736f
diff --git a/tests/test_philips_api.py b/tests/test_philips_api.pyindex 90911a3d4..b750f987f 100644--- a/tests/test_philips_api.py+++ b/tests/test_philips_api.py@@ -175,7 +175,9 @@ class Answered(unittest.TestCase):def test_never_reaching_the_tv_is_not(self):for failure in (TIMEOUT, urllib.error.URLError(TIMEOUT), NO_ROUTE, urllib.error.URLError(NO_ROUTE),- NO_NAME, urllib.error.URLError(NO_NAME)):+ NO_NAME, urllib.error.URLError(NO_NAME),+ PermissionError(errno.EACCES, "Permission denied"),+ urllib.error.URLError(PermissionError(errno.EPERM, "Operation not permitted"))):with self.subTest(failure=type(failure).__name__ + str(getattr(failure, "reason", ""))):self.assertFalse(philips_api.answered(failure))diff --git a/tools/philips-api.py b/tools/philips-api.pyindex b76ec9b0d..af3fb20ab 100644--- a/tools/philips-api.py+++ b/tools/philips-api.py@@ -40,9 +40,10 @@ PORTS = ((1926, "https"), (1925, "http"))PROBE = ("ambilight/topology", "ambilight/power", "ambilight/mode", "ambilight/currentconfiguration","powerstate")# errno values that mean this computer never reached the TV: a timeout, a network that is not the-# set's, a host that is gone. What the port said in those cases is about the route, not the TV.+# set's, a host that is gone, or a local permission or sandbox denial that stopped the connect here.+# What the port said in those cases is about the route, not the TV.UNREACHED = (errno.EHOSTUNREACH, errno.ENETUNREACH, errno.EHOSTDOWN, errno.ENETDOWN, errno.ETIMEDOUT,- errno.ECONNABORTED)+ errno.ECONNABORTED, errno.EACCES, errno.EPERM)def answered(failure):