TV apps
The OwnTube TV app runs on Apple TV, Android TV and Fire TV. It connects to your server, signs in with a pairing code, and plays in the platform’s own video player.
What it does
Section titled “What it does”- Home: Continue watching, then the blocks of your home page as rows.
- Sidebar: Home, Search (text and voice), Queue, Subscriptions, Recommended, Trending, Shorts, Saved, Playlists, History and Settings. You can change the order.
- Long-press OK on a video for its menu: queue, save, add to playlist, mark watched, not interested, go to channel.
- Player: quality, captions, audio language, speed, chapters, SponsorBlock skips, live streams, and an Up next card that continues through the queue, a playlist or the row the video came from.
- Profiles: pair several accounts and pick one at start-up.
- Text size: Compact, Default or Large.
- Android TV: unfinished videos in the launcher’s Continue watching row, OwnTube in Open with for YouTube links, and Play on TV from the web.
- Apple TV: a Top Shelf with your videos.
Quality, autoplay, SponsorBlock and home blocks come from your account. Sidebar order, text size, caption language and speed are kept per TV.
Connect and sign in
Section titled “Connect and sign in”-
Open the app and enter your server’s address, the same one you use in a browser, such as
https://tube.example.orgorhttp://192.168.1.10:3000. The app checks that OwnTube answers there. -
The TV shows a code and a QR code. Scan the QR code with your phone, or open
/tv/pairon the server while signed in, and approve the code. Codes expire after 10 minutes. -
To add someone else, go to Settings → Switch or add profile.
Email and password sign-in is available as a fallback. Settings → Server → Change server signs out and asks for a new address.
Build and install
Section titled “Build and install”The TV app is installed separately from the rest of the repository.
You need Node.js 24 or later, pnpm, a JDK and the Android SDK, or the reactnativecommunity/react-native-android Docker image. Gradle downloads missing SDK parts on the first build.
cd apps/tvpnpm installEXPO_PUBLIC_OWNTUBE_URL=https://tube.example.org CI=1 pnpm run prebuildcd androidEXPO_PUBLIC_OWNTUBE_URL=https://tube.example.org NODE_ENV=production \ ./gradlew assembleRelease -PreactNativeArchitectures=arm64-v8a,armeabi-v7a --no-daemonThe APK is written to android/app/build/outputs/apk/release/app-release.apk. EXPO_PUBLIC_OWNTUBE_URL only fills in the address on first start.
Signing. Without a keystore the build is signed with the debug key. To use your own key, create it once and set the variables for both prebuild and Gradle:
keytool -genkeypair -v -keystore owntube-tv.jks -alias owntube-tv \ -keyalg RSA -keysize 2048 -validity 10000export OWNTUBE_TV_KEYSTORE=$PWD/owntube-tv.jksexport OWNTUBE_TV_KEYSTORE_PASSWORD=…Android won’t update an app whose signature changed. A TV with a debug-signed build has to uninstall it before the first install of a release-signed one.
Install. Turn on developer options and network debugging on the TV, then:
adb connect <tv-address>adb install -r app-release.apkOr publish the APK on your server (below) and install it with the Downloader app.
You need a Mac with Xcode, Node.js 24 or later and pnpm.
cd apps/tvpnpm installEXPO_PUBLIC_OWNTUBE_URL=https://tube.example.org pnpm run prebuild:tvospnpm run tvos # build and run on the tvOS simulatorTo install on an Apple TV, open the workspace in ios/ with Xcode, choose your team under Signing & Capabilities for the app and the Top Shelf target, select the Apple TV as destination and run.
Updates from your server
Section titled “Updates from your server”The server can offer new Android TV builds. Put the APK and an update.json in the TV releases directory, data/tv-releases/ in the owntube-data volume by default:
{ "version": "0.5.0", "versionCode": 500, "apkUrl": "/tv/download/owntube-tv-0.5.0.apk", "notes": "What changed"}The server serves it at /tv/update.json and the APK at /tv/download/<file>.apk. Settings → About on the TV shows Update available with the download address. versionCode is major × 10000 + minor × 100 + patch.