mirror of
https://github.com/beetbox/beets.git
synced 2026-01-13 19:52:48 +01:00
Document 'early_import_stages' in the docs
This commit is contained in:
parent
1bb1bca779
commit
305f9f2dfb
1 changed files with 5 additions and 0 deletions
|
|
@ -432,6 +432,11 @@ to register it::
|
|||
def stage(self, session, task):
|
||||
print('Importing something!')
|
||||
|
||||
It is also possible to request your function to run early in the pipeline by
|
||||
adding the function to the plugin's ``early_import_stages`` field instead.::
|
||||
|
||||
self.early_import_stages = [self.stage]
|
||||
|
||||
.. _extend-query:
|
||||
|
||||
Extend the Query Syntax
|
||||
|
|
|
|||
Loading…
Reference in a new issue