Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugin_info/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "tvremote",
"name": "TV Remote",
"pluginVersion": "1.4.0",
"pluginVersion": "1.4.1",
"description": {
"fr_FR": "Plugin pour contrôler les équipements Android de type Télévision (Sony, Nvidia Shield, Freebox TV, etc...) via le service de télécommande Google (TVRemote) ou via ADB. Il permet de contrôler les différentes fonctions de sa télévision (power, volume, entrées HDMI, lancement d'applications, chaînes TV, navigation dans l'interface, etc...)",
"en_US": "Plugin to control Android TV devices (Sony, Nvidia Shield, Freebox TV, etc...) via Google remote control service (TVRemote) or via ADB. It allows you to control various functions of your TV (power, volume, HDMI inputs, launching applications, TV channels, navigating the interface, etc...)",
Expand Down
10 changes: 5 additions & 5 deletions resources/tvremoted/tvremoted.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def main(self) -> None:
self._logger.debug(traceback.format_exc())

def is_available_updated(is_available: bool) -> None:
self._logger.info("[EQRemote][Is_Available][%s] Notification :: %s", self._macAddr, is_available)
self._logger.debug("[EQRemote][Is_Available][%s] Notification :: %s", self._macAddr, is_available)
try:
# UpdateLastTime
currentTime = int(time.time())
Expand All @@ -193,7 +193,7 @@ def is_available_updated(is_available: bool) -> None:
self._logger.debug(traceback.format_exc())

def is_on_updated(is_on: bool) -> None:
self._logger.info("[EQRemote][Is_On][%s] Notification :: %s", self._macAddr, is_on)
self._logger.debug("[EQRemote][Is_On][%s] Notification :: %s", self._macAddr, is_on)
try:
# UpdateLastTime
currentTime = int(time.time())
Expand All @@ -215,7 +215,7 @@ def is_on_updated(is_on: bool) -> None:
self._logger.debug(traceback.format_exc())

def current_app_updated(current_app: str) -> None:
self._logger.info("[EQRemote][Current_App][%s] Notification :: %s", self._macAddr, current_app)
self._logger.debug("[EQRemote][Current_App][%s] Notification :: %s", self._macAddr, current_app)
try:
# UpdateLastTime
currentTime = int(time.time())
Expand All @@ -236,7 +236,7 @@ def current_app_updated(current_app: str) -> None:
self._logger.debug(traceback.format_exc())

def volume_info_updated(volume_info: VolumeInfo) -> None:
self._logger.info("[EQRemote][Volume_Info][%s] Notification :: %s", self._macAddr, volume_info)
self._logger.debug("[EQRemote][Volume_Info][%s] Notification :: %s", self._macAddr, volume_info)
try:
# UpdateLastTime
currentTime = int(time.time())
Expand Down Expand Up @@ -690,7 +690,7 @@ async def send_command(self, action: str | None = None, value: str | None = None

# Connect on-demand if not already connected
if not self._persistent_connection and not self._connected:
self._logger.info("[EQRemoteADB][SendCommand] On-demand mode: connecting...")
self._logger.debug("[EQRemoteADB][SendCommand] On-demand mode: connecting...")
if self._adb is None:
self._adb = AdbDeviceTcpAsync(self._host, self._port, default_transport_timeout_s=self._config.adb_timeout)

Expand Down