From fabfde33c6b51cfd1577d733716800ddc423adbe Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Sat, 14 Oct 2023 08:29:38 +0200 Subject: [PATCH] Fix track length comparision in UI code Fixes behaviour to what we documented already. --- beets/ui/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 093787135..7d39c7b9b 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -508,7 +508,7 @@ class ChangeRepresentation(object): item.length and track_info.length and abs(item.length - track_info.length) - > config["ui"]["length_diff_thresh"].as_number() + >= config["ui"]["length_diff_thresh"].as_number() ): highlight_color = "text_highlight" changed = True