From f0402e74f96e9e2c8466a5a3139e864e162a8176 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Tue, 13 Oct 2026 21:37:40 +0200 Subject: [PATCH] feat(android): install on Android TV, and take a remote's keys in the player The app is listed in the TV launcher with a banner, and neither a touch screen nor leanback is required. While the controls are down the player takes D-pad left and right as a ten-second seek, the middle button as bringing the controls up, and play/pause and space as they say. --- android/app/src/main/AndroidManifest.xml | 9 ++++ .../protonstream/playback/PlayerScreen.kt | 42 ++++++++++++++++++ .../src/main/res/drawable-nodpi/tv_banner.png | Bin 0 -> 26413 bytes docs/ANDROID.md | 12 +++++ scripts/render-tv-banner.sh | 21 +++++++++ 5 files changed, 84 insertions(+) create mode 100644 android/app/src/main/res/drawable-nodpi/tv_banner.png create mode 100755 scripts/render-tv-banner.sh diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 9bfb232..ea50b79 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -7,6 +7,13 @@ + + + + @@ -39,6 +47,7 @@ +