Skip to content

Instantly share code, notes, and snippets.

@nielsvanvelzen
Created July 16, 2024 14:08
Show Gist options
  • Save nielsvanvelzen/96fd588194729d6845f2d5e414cffb8d to your computer and use it in GitHub Desktop.
Save nielsvanvelzen/96fd588194729d6845f2d5e414cffb8d to your computer and use it in GitHub Desktop.
Jellyfin for Android TV debugging guide

Jellyfin for Android TV debugging guide

Install ADB

ADB (Android Debug Bridge) is a command-line tool that allows you to communicate with Android devices. It is bundled with Android Studio or available as standalone download.

Connect to an Android TV device with ADB

Enable developer mode on Android TV

The steps to enable developer mode might vary depending on your device and Android version. If the instructions below do not match your device, please search online for specific instructions for your device model.

  1. Go to Settings on your Android TV.
  2. Navigate to Device Preferences > About.
  3. Scroll down to Build and click it repeatedly (about 7 times) until you see a message saying "You are now a developer!"
  4. Go back to Device Preferences and you will now see a new option called Developer options.
  5. Open Developer options and enable USB Debugging and Network Debugging.

Connect to Fire TV with ADB

  1. Go to Settings on your Fire TV.
  2. Navigate to My Fire TV > About and click on Build repeatedly (about 7 times) until Developer options are enabled.
  3. Go back to My Fire TV and open Developer options.
  4. Enable ADB Debugging and Apps from Unknown Sources.

Connect to Android TV via ADB

  1. Find the IP address of your Android TV. Go to Settings > Network & Internet and select your network to see the IP address.
  2. On your computer, open a terminal or command prompt.
  3. Connect to the Android TV using the IP address:
    adb connect <ANDROID_TV_IP_ADDRESS>
  4. You will see a prompt on your Android TV asking for permission to connect. Allow it.

How to side-load Jellyfin with ADB

  1. Ensure your device is connected via ADB:

    adb devices

    Your device should be listed.

  2. Install the APK file:

    adb install <PATH_TO_APK_FILE>

How to get logs for the Jellyfin app with ADB

  1. Ensure your device is connected via ADB:

    adb devices

    Your device should be listed.

  2. Use adb logcat to read all logs from your device:

    adb logcat
  3. Optionally filer the logs using grep:

    adb logcat | grep -i 'org.jellyfin.androidtv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment