Files
scrypted/server/python
Raman Gupta 9a6fc6e810 server: dispatch python plugin events to systemManager listeners (#2086)
The python port of plugin-remote's notify() updates systemState but the
dispatch to systemManager.events was left as a commented-out TODO, so
systemManager.listen() callbacks never fire in python plugins/clients
(plugin-remote.ts dispatches via notifyEventDetails here). Port the
current typescript semantics: plain property changes update state and
notify listeners with the unwrapped value, everything else passes
through raw, and mixin property events no longer write device state.

Also fix EventRegistry.listenDevice to register callbacks in the
token-keyed listener set (it raised KeyError on the device id key,
diverging from event-registry.ts) so watch-mode device listeners work.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 11:14:13 -07:00
..
2021-11-04 20:29:02 -07:00
2024-11-21 14:53:16 -08:00
2024-11-21 14:53:16 -08:00
2024-11-21 14:53:16 -08:00
2024-11-21 14:53:16 -08:00