Skip to content

v1.3.19#104

Merged
TiTidom-RC merged 3 commits into
betafrom
dev
May 27, 2026
Merged

v1.3.19#104
TiTidom-RC merged 3 commits into
betafrom
dev

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

This pull request introduces a new configurable log level for TV libraries, improves developer tooling with new and updated CI workflows, and updates some dependencies and logging behaviors. The most important changes are summarized below.

New Feature: Configurable TV Library Log Level

  • Added a new configuration option (tvLogLevel) that allows users to set a specific log level for TV-related Python libraries (zeroconf, androidtvremote2, adb_shell), separate from the main daemon log level. This includes updates to the configuration UI, install/update scripts, PHP daemon start command, Python argument parsing, config handling, and dynamic log level setup in the daemon. [1] [2] [3] [4] [5] [6] [7]

Developer Tooling and CI Improvements

  • Added a new GitHub Actions workflow (checkPHPCompat.yml) to check PHP compatibility using PHPStan across multiple PHP versions (7.4, 8.2, 8.4).
  • Added a new GitHub Actions workflow (checkPython.yml) to run Ruff linter on the Python codebase.
  • Updated the PHP lint job in CI to clarify it targets PHP 8.4.
  • Added new words to .vscode/settings.json for improved editor experience with new tools and config keys. [1] [2]
  • Added a PHPStan config to report unmatched ignored errors.

Logging Behavior Improvements

  • Changed several logging statements in tvremoted.py from debug to info level for key daemon events, device actions, and pairing processes, making logs more informative and visible at default log levels. [1] [2] [3] [4] [5] [6] [7] [8]

Dependency Updates

  • Updated the zeroconf Python library from version 0.148.0 to 0.149.16 in requirements.txt.

Version Bump

  • Bumped the plugin version to 1.3.19 in info.json.

Add GitHub Actions workflows to improve CI coverage: a PHP compatibility workflow (checkPHPCompat.yml) that runs PHPStan across PHP 7.4/8.2/8.4 against a sparse clone of Jeedom Core, and a Python lint workflow (checkPython.yml) using ruff for resources/tvremoted. Also add phpstan.neon.dist to enable reportUnmatchedIgnoredErrors, and tweak existing checkPHP.yml to name the PHP lint job. Update .vscode/settings.json to include phpstan and shivammathur entries.
Introduce a configurable log level for TV-related libraries (zeroconf, androidtvremote2, adb_shell). Adds a tvLogLevel UI setting (default 'daemon' to inherit the daemon level), persists the default on install/update, passes --tvloglevel to the daemon, and applies the chosen level to the respective library loggers. Also bumps plugin version to 1.3.19 and updates zeroconf to 0.149.16.
Change several logger.debug calls to logger.info to surface important daemon events (EQRemote, EQRemoteADB, TVRemoted). Also fix a malformed pairing log format in sendBeginPairing (removed an extra placeholder) so the log arguments match the format string. These changes make scan/add/remove/pairing/close events more visible and prevent a potential logging formatting error.
@TiTidom-RC TiTidom-RC merged commit c5c922a into beta May 27, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant