Files
Stefan AgnerandClaude Fable 5.1 108ac2f15d Add enabled option to the multicast plugin
Since 2020 Supervisor unconditionally installs and runs the multicast
plugin on every installation. Users affected by its interference (mDNS
duplicates, multicast storms) have no supported way to turn it off. This
is phase 1 of the deprecation plan in architecture discussion #1457: an
opt-in disable switch.

The plugin config gains an `enabled` option (default true), persisted in
multicast.json and exposed via `GET /multicast/info` and a new
`POST /multicast/options` endpoint. Disabling stops and removes the
container, removes the image and forgets the installed version. Enabling
installs the current version and starts it, gated by the same job
conditions as a plugin update. While disabled, load skips attach, install
and start, the watchdog ignores container events, repair and auto-update
are skipped, and start/restart/update raise MulticastDisabledError
(HTTP 400).

The update endpoint now rejects a disabled plugin before comparing
versions, as the comparison raises on the None version left behind by
a disable.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 13:58:03 +02:00
..