Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FireTV Cube Unable to Retrieve List of Running Apps #292

Open
tommyjlong opened this issue Jan 31, 2022 · 2 comments
Open

FireTV Cube Unable to Retrieve List of Running Apps #292

tommyjlong opened this issue Jan 31, 2022 · 2 comments

Comments

@tommyjlong
Copy link

FireTV Cube running Fire OS 7.2.4.2
In Home Assistant, the Source List in the Media Card only shows the current running App.
I had the same problem with a FireTV Stick (which I no longer use).

In my looking around at the code, what I think is the problem is the ADB Shell command
that FireTV uses (from constants.py):

#: Get the running apps for a Fire TV device
CMD_RUNNING_APPS_FIRETV = "ps | grep u0_a"

When I change this to the following (which is the same as for the Android Device):

#: Get the running apps for a Fire TV device
CMD_RUNNING_APPS_FIRETV = "ps -A | grep u0_a"

The running Apps list is actually retrieved!!!

@SamB-GB
Copy link

SamB-GB commented Jan 20, 2023

I had the same issue and the only way I could getting the Firestick 4K Max to work was to re-add it and choose the device type as Android rather than FireTV, not really sure what the full consequences of that are but that does fix the issue with the sources.

Snag_694da4
Snag_683a8e

@tommyjlong
Copy link
Author

Yeah I was just hoping for a one line change to CMD_RUNNING_APPS_FIRETV = "ps -A | grep u0_a"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants