Skip to content

v1.8.12#239

Merged
TiTidom-RC merged 5 commits into
mainfrom
beta
May 14, 2026
Merged

v1.8.12#239
TiTidom-RC merged 5 commits into
mainfrom
beta

Conversation

@TiTidom-RC
Copy link
Copy Markdown
Owner

This pull request updates the plugin to version 1.8.12 and introduces several improvements. The main changes include updating .htaccess files to use modern Apache directives, expanding the logic to consistently ignore additional virtual AI devices throughout the codebase, and making minor logging improvements.

Security and compatibility updates:

  • Updated all .htaccess files (such as core/class/.htaccess, resources/.htaccess, resources/ttscastd/.htaccess, data/.htaccess, and plugin_info/.htaccess) to use Require all denied or Require all granted instead of deprecated Order allow,deny and Deny from all/allow from all directives, improving compatibility with newer Apache versions. [1] [2] [3] [4]

Code logic improvements:

  • Updated all relevant methods in core/class/ttscast.class.php to ignore both TTSCast_AI_Stats and TTSCast_AI logical IDs when processing TTSCast devices, ensuring that all virtual AI devices are consistently excluded from operations like enabling/disabling cast, updating radio/sound lists, and scheduled tasks. [1] [2] [3] [4] [5] [6] [7] [8]

Other improvements:

  • Improved log message wording for clarity in sendOnStartCastToDaemon.
  • Bumped plugin version in plugin_info/info.json from 1.8.11 to 1.8.12.

Replace legacy Apache 2.2 Order/Allow/Deny rules with Apache 2.4 'Require' directives across multiple .htaccess files (core/class, data, plugin_info, resources, resources/ttscastd). File-specific allowances now use 'Require all granted' for matched patterns and defaults use 'Require all denied'. Also bump plugin_info/info.json pluginVersion from 1.8.11 to 1.8.12.
Skip TTSCast virtual AI devices ('TTSCast_AI_Stats' and 'TTSCast_AI') across multiple methods to avoid adding/removing casts or sending data for those eqLogics. Added early-return guards in enableCastToDaemon/disableCastToDaemon and updated loop filters in sendOnStartCastToDaemon, radio/custom radio/sound handlers and cron5. Also adjusted French log/comment wording for clarity (e.g. 'Envoi équipements TTSCast actifs', comment to 'Ignorer les équipements virtuels IA').
Ignore AI virtual devices; update messages
@TiTidom-RC TiTidom-RC merged commit cbe3fef into main May 14, 2026
1 check 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