Replaced writing-plugins with basic-plugin-setup.

This commit is contained in:
Sebastian Mohr 2025-08-26 11:23:12 +02:00 committed by Šarūnas Nejus
parent 0dcd7caa9d
commit 676dc9c953
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435
3 changed files with 6 additions and 6 deletions

View file

@ -4178,7 +4178,7 @@ fetching cover art for your music, enable this plugin after upgrading to beets
"database is locked"). This release synchronizes access to the database to
avoid internal SQLite contention, which should avoid this error.
- Plugins can now add parallel stages to the import pipeline. See
:ref:`writing-plugins`.
:ref:`basic-plugin-setup`.
- Beets now prints out an error when you use an unrecognized field name in a
query: for example, when running ``beet ls -a artist:foo`` (because ``artist``
is an item-level field).
@ -4361,7 +4361,7 @@ to come in the next couple of releases.
addition to replacing them) if the special string ``<strip>`` is specified as
the replacement.
- New plugin API: plugins can now add fields to the MediaFile tag abstraction
layer. See :ref:`writing-plugins`.
layer. See :ref:`basic-plugin-setup`.
- A reasonable error message is now shown when the import log file cannot be
opened.
- The import log file is now flushed and closed properly so that it can be used
@ -4405,7 +4405,7 @@ filenames that would otherwise conflict. Three new plugins (``inline``,
naming rules: for example, ``%upper{%left{$artist,1}}`` will insert the
capitalized first letter of the track's artist. For more details, see
:doc:`/reference/pathformat`. If you're interested in adding your own template
functions via a plugin, see :ref:`writing-plugins`.
functions via a plugin, see :ref:`basic-plugin-setup`.
- Plugins can also now define new path *fields* in addition to functions.
- The new :doc:`/plugins/inline` lets you **use Python expressions to customize
path formats** by defining new fields in the config file.

View file

@ -7,9 +7,9 @@ add virtually any type of features to beets.
For instance you can create plugins that add new commands to the command-line
interface, listen for events in the beets lifecycle or extend the autotagger
with new metadata sources. .. _writing-plugins:
with new metadata sources.
.. _writing-plugins:
.. _basic-plugin-setup:
Basic Plugin Setup
------------------

View file

@ -289,4 +289,4 @@ constructs include:
The :doc:`/plugins/inline` lets you define template fields in your beets
configuration file using Python snippets. And for more advanced processing, you
can go all-in and write a dedicated plugin to register your own fields and
functions (see :ref:`writing-plugins`).
functions (see :ref:`basic-plugin-setup`).