Run configured commands before/after events.
E.g. turn on the TV on play event.
There's a preview of this feature in the hooks branch. See the -exec-play CLI argument.
hooks
-exec-play