mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-18 12:59:12 +00:00
feat(schedule): per-plugin schedules and hide-while-live
Users asked to turn off news and stocks on gameday so only scores show. Each plugin can now have its own schedule (global or per-day window in which it may show) plus hide_when_live, which hides it whenever any plugin reports a live game. A hidden plugin is skipped in the rotation, the live takeover and the Vegas ticker; it stays loaded, and on-demand still shows it. - src/plugin_schedule.py: the window rule, now shared with the display schedule (_check_schedule calls schedule_state) - core config key plugin_schedules; GET/POST /api/v3/config/plugin-schedules - Schedule page: Plugin Schedules card, one picker per enabled plugin Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,16 @@ accepts both, but the store flags the old spelling as deprecated
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added: plugin schedules
|
||||
|
||||
Schedule → Plugin Schedules sets when each plugin may show, per day or with
|
||||
one time range, and can hide a plugin whenever any game is live ("no news or
|
||||
stocks on gameday"). A hidden plugin is skipped in the rotation, the live
|
||||
takeover and Vegas mode, but stays loaded. New core config key
|
||||
`plugin_schedules`, new `GET/POST /api/v3/config/plugin-schedules`, new
|
||||
module `src/plugin_schedule.py` (the display schedule's window rule now
|
||||
lives there too).
|
||||
|
||||
### Removed: the cache-key mailboxes (control socket stage 5) -- breaking
|
||||
|
||||
The control socket (`docs/IPC_CONTROL_SOCKET.md`) is now the only way the
|
||||
|
||||
Reference in New Issue
Block a user