As the official Navidrome implementation supports plugins using WASM, are there any plans to add a "hooks" system, which I suggest as a viable, simple alternative to WASM, Go plugins and anything else; to Gonic? If a PR is necessary, I am more than happy to push one.
My usecase for hooks is to essentially simulate a sort of 'plugin' system. Plugins dont usually need to be continuously running, and if they need a state they can do so using files as they are simple scripts or shell scripts.
An example that implements this hook system is dhcpcd, where a hook is executed with the reason environment variable, and perhaps other data can be passed in as arguments.
As the official Navidrome implementation supports plugins using WASM, are there any plans to add a "hooks" system, which I suggest as a viable, simple alternative to WASM, Go plugins and anything else; to Gonic? If a PR is necessary, I am more than happy to push one.
My usecase for hooks is to essentially simulate a sort of 'plugin' system. Plugins dont usually need to be continuously running, and if they need a state they can do so using files as they are simple scripts or shell scripts.
An example that implements this hook system is dhcpcd, where a hook is executed with the
reasonenvironment variable, and perhaps other data can be passed in as arguments.