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

Logging enhancements #116

Merged
merged 3 commits into from Oct 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion androidtv/androidtv.py
Expand Up @@ -225,7 +225,7 @@ def get_properties(self, lazy=False):
output = self._adb.shell(constants.CMD_ANDROIDTV_PROPERTIES_LAZY)
else:
output = self._adb.shell(constants.CMD_ANDROIDTV_PROPERTIES_NOT_LAZY)
_LOGGER.debug("Android TV %s update response: %s", self.host, output)
_LOGGER.debug("Android TV %s `get_properties` response: %s", self.host, output)

# ADB command was unsuccessful
if output is None:
Expand Down
2 changes: 2 additions & 0 deletions androidtv/basetv.py
Expand Up @@ -181,6 +181,8 @@ def get_device_properties(self):
constants.CMD_MAC_WLAN0 + " && " +
constants.CMD_MAC_ETH0)

_LOGGER.debug("%s `get_device_properties` response: %s", self.host, properties)

if not properties:
return {}

Expand Down
2 changes: 1 addition & 1 deletion androidtv/firetv.py
Expand Up @@ -322,7 +322,7 @@ def get_properties(self, get_running_apps=True, lazy=False):
output = self._adb.shell(constants.CMD_FIRETV_PROPERTIES_NOT_LAZY_RUNNING_APPS)
else:
output = self._adb.shell(constants.CMD_FIRETV_PROPERTIES_NOT_LAZY_NO_RUNNING_APPS)
_LOGGER.debug("Fire TV %s update response: %s", self.host, output)
_LOGGER.debug("Fire TV %s `get_properties` response: %s", self.host, output)

# ADB command was unsuccessful
if output is None:
Expand Down