-
Notifications
You must be signed in to change notification settings - Fork 1
multipletaskcreated
This plugin adds the ability to chain the call of plugins registered to the import_task_created
event of beets.
It can be helpful if you want to use more than on plugin that modifies the import tasks.
To load the plugin just add multipletaskcreated
to your plugins
configuration.
The plugins you want to be called in a chained way must be loaded and configured as always.
One additional configuration is necessary: add a multipletaskcreated
configuration section containing a plugins
key. This key gets a list of plugins to call chained like so:
multipletaskcreated:
plugins:
- autosingleton
- notagain
That means the following: The autosingleton
plugin will be called first with the import tasks provided by beets. The results of this plugin is passed to the second plugin (notagain
in this case). The results of the second plugin are passed back to beets.