Skip to content

Hook script system #652

@sewnie

Description

@sewnie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions