Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

fix: raise tv.py pull timeouts for slow wi-fi links

mja009316dcbb0e93
diff --git a/tools/tv.py b/tools/tv.py
index 6336f3cc6..1b89d00a5 100644
--- a/tools/tv.py
+++ b/tools/tv.py
@@ -52,7 +52,7 @@ def main():
dev.push(args[1], args[2], transport_timeout_s=300.0, read_timeout_s=300.0)
print(f"pushed {args[1]} -> {args[2]}")
elif args[0] == "--pull" and len(args) == 3:
- dev.pull(args[1], args[2])
+ dev.pull(args[1], args[2], transport_timeout_s=300.0, read_timeout_s=300.0)
print(f"pulled {args[1]} -> {args[2]}")
elif args[0] == "--batch":
# one shell command per stdin line, each run separately on the same connection