Skip to main content
Operations for managing Stash plugins. Bases: StashClientProtocol Mixin for plugin-related client methods.

Functions

get_plugins

Get all loaded plugins. Returns: Examples: Get all plugins:
Filter enabled plugins:

get_plugin_tasks

Get all available plugin tasks. Returns: Examples: Get all plugin tasks:
Find tasks for a specific plugin:

set_plugins_enabled

Enable or disable plugins. Parameters: Returns: Examples: Enable a plugin:
Disable multiple plugins:

run_plugin_task

Run a plugin task asynchronously via the job queue. If task_name is provided, the task must exist in the plugin config and the task’s configuration will be used. If no task_name is provided, the plugin will be executed with the arguments provided only. Parameters: Returns: Raises: Examples: Run a plugin task with a task name:
Run a plugin with custom arguments:
Run with both task name and additional arguments:

run_plugin_operation

Run a plugin operation synchronously (not via job queue). The operation is run immediately and does not use the job queue. Returns the result directly from the plugin. Parameters: Returns: Examples: Run a plugin operation:
Run without arguments:

reload_plugins

Reload all plugins. Returns: Examples: Reload all plugins:

configure_plugin

Configure a plugin’s settings. Overwrites the entire plugin configuration for the given plugin. Parameters: Returns: Examples: Configure a plugin:
Update specific settings: