-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add -A option to ps command to list all Fire TV processes #348
Conversation
androidtv/constants.py
Outdated
@@ -209,7 +209,7 @@ class DeviceEnum(IntEnum): | |||
CMD_RUNNING_APPS_ANDROIDTV = "ps -A | grep u0_a" | |||
|
|||
#: Get the running apps for a Fire TV device | |||
CMD_RUNNING_APPS_FIRETV = "ps | grep u0_a" | |||
CMD_RUNNING_APPS_FIRETV = "ps -A | grep u0_a" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A unit test is failing because this constant is the same as CMD_RUNNING_APPS_ANDROIDTV
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want me to remove the FIRETV constant and refer to the ANDROIDTV one from everywhere? Or I can add an extra space somewhere ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consolidate the two into a single CMD_RUNNING_APPS
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok done 👍
@JeffLIrion do you need more to merge this? |
Fixes #102565 and #292 and updates e8b09aa