Jump to content

Recommended Posts

Tophicles
Posted

So, in case anyone's wondering how to pull the logs from a FireTV, here's how I managed it. Might be common knowledge to some but was new to me.I nowhere saw anything when I googled about "debug mode" or anything like that in the Emby App. I saw "Share" for the logfiles, but any option under there did nothing. This is how I eventually was able to gather my logs for a support issue. I hope this helps anyone who got as lost as I did! Ha!

I did all this on a Mac but I'm sure the steps are the same on other platforms (apart from terminal etc).

1) Put your FireTV into Developer Mode (Home -> My FireTV -> press center button seven times)

2) Go into developer options and enable ADB Debugging.

3) Go into the Emby for Android App and click on the User Icon (top right), go to App Settings -> Logs -> Settings and enable app logging. 

4) Exit out of the App and re-load it to enable logging.

5) Grab a copy of the SDK Platform Toolkit from https://developer.android.com/tools/releases/platform-tools

6) Find out the IP address of your FireTV (Home -> My FireTV -> About -> Network)

7) Extract the toolkit and change to it's folder, then run the following commands:

MAC / LINUX

./adb connect FIRETV_IP:5555

WINDOWS

adb connect FIRETV_IP:5555

You may have a prompt on the FireTV to accept ADB debugging and trust this network / pc. 

Now, you can "follow" the emby log as you perform the actions to replicate your issue or collect the data requested and output that stream to a text file. In my case, it's a file called "emby-firetv-log.txt" on my Mac's Desktop folder. 

MAC / LINUX

./adb logcat -v time | grep -i mb.android > ~/Desktop/emby-firetv-log.txt

WINDOWS

adb logcat -v time | findstr /i mb.android > "%USERPROFILE%\Desktop\emby-firetv-log.txt"

The command breakdown is to tell the FireTV to follow the system log, but look for entries matching "mb.android" (the app name) and then output those logs to the file.

8 ) Close Emby when you're done and then stop the command (usually Ctrl Z or Ctrl C) - the log will be in the file in the location you chose to put it. 

9 ) Go into the Emby for Android App and click on the User Icon (top right), go to App Settings -> Logs -> Settings and disable app logging. Restart to take effect.

I hope this helps people, I had a heck of a time trying to find out how to copy the logs.  

  • Thanks 1
Posted

Thanks for sharing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...