v1.9.4#260
Merged
Merged
Conversation
Introduce a new configurable Chromecast log level (castLogLevel) with UI options and default 'daemon'. Save the setting during install/update, pass it from PHP to the daemon (--castloglevel), and parse/apply it in ttscastd.py to set pychromecast and zeroconf logger levels (unless set to 'daemon'). Also add a startup log entry for the cast log level, set a default in utils.Config, bump pluginVersion to 1.9.4, and include the new key in workspace settings.
Relocate the 'Niveau de log Chromecast' configuration block within plugin_info/configuration.php. The form-group containing the Chromecast log level select was removed from its previous position and reinserted after the "Fréquence des cycles" block (just before the TTS legend). No functional changes, only UI element reordering.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new configurable log level specifically for Chromecast-related libraries, allowing users to control the verbosity of logs from
pychromecastandzeroconfindependently from the main daemon log level. It also updates the plugin version and ensures the new setting is properly initialized during installation and updates.Chromecast log level configuration:
castLogLevelto allow users to select the log level for Chromecast libraries via the plugin settings UI (plugin_info/configuration.php).ttscastd.py) to accept and apply the--castloglevelargument, setting the log level forpychromecastandzeroconfaccordingly. [1] [2] [3] [4] [5]ttscast.class.phpto include the--castloglevelparameter, passing the configured value to the daemon process.castLogLevelsetting is initialized to a default value (daemon) during both plugin installation and updates (install.php). [1] [2]castloglevelto the list of known settings in.vscode/settings.jsonfor improved development experience.Other changes:
1.9.3to1.9.4ininfo.jsonto reflect these updates.