Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference/pathformat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ These functions are built in to beets:
- ``%left{text,n}``: Return the first ``n`` characters of ``text``.
- ``%right{text,n}``: Return the last ``n`` characters of ``text``.
- ``%if{condition,text}`` or ``%if{condition,truetext,falsetext}``: If
``condition`` is nonempty (or nonzero, if it's a number), then returns the
second argument. Otherwise, returns the third argument if specified (or
nothing if ``falsetext`` is left off).
``condition`` is not empty, and not one of the values ``0`` or ``false``
(case insensitive), then returns the second argument. Otherwise, returns the
third argument if specified (or nothing if ``falsetext`` is left off).
- ``%asciify{text}``: Convert non-ASCII characters to their ASCII equivalents.
For example, "café" becomes "cafe". Uses the mapping provided by the
`unidecode module`_. See the :ref:`asciify-paths` configuration option.
Expand Down
Loading