From d1166c8efc22d1f331d0ee96c2d0c80715008629 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Thu, 12 Oct 2023 18:17:25 +0200 Subject: [PATCH] Add length_diff_thresh description and ref-links to config reference docs. --- docs/reference/config.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/reference/config.rst b/docs/reference/config.rst index 6d9d17866..32a4cb8bd 100644 --- a/docs/reference/config.rst +++ b/docs/reference/config.rst @@ -419,6 +419,8 @@ support ANSI colors. still respected, but a deprecation message will be shown until your top-level `color` configuration has been nested under `ui`. +.. _colors: + colors ~~~~~~ @@ -470,7 +472,13 @@ Controls line wrapping. Defaults to ``80`` characters:: length_diff_thresh ~~~~~~~~~~~~~~~~~~ -FIXME:: +Beets compares the length of the imported track with the length the metadata +source provides. If any tracks differ by at least ``length_diff_thresh`` +seconds, they will be colored with ``text_highlight``. Below this threshold, +different track lengths are colored with ``text_highlight_minor``. +``length_diff_thresh`` does not impact which releases are selected in +autotagger matching or distance score calculation (see :ref:`match-config` and +:ref:`colors`):: ui: length_diff_thresh: 10.0