Files
beets/docs
Qalipso a8439e2d07 Fix unique_path counter for names ending in two or more digits
unique_path parses a trailing counter so it can continue from it, but the
pattern is `\.(\d)+$` -- a single-digit group repeated, not a multi-digit
group. group(1) is therefore the last digit only, and the counter restarts
from it:

    track.10.mp3 -> track.1.mp3   (expected track.11.mp3)
    track.12.mp3 -> track.3.mp3
    track.123.mp3 -> track.4.mp3

The returned path still does not exist, so nothing is overwritten, but the
new name sorts before the file it was derived from, and the scan restarts
from a low number when the neighbours are already taken.

Use `\.(\d+)$`. Existing coverage only exercised a single-digit counter
(`x.1.mp3`), which is why this held.
2026-07-30 12:52:03 +02:00
..
2026-07-16 20:20:06 +02:00
2026-05-20 16:53:06 +02:00
2026-07-28 15:28:32 -04:00
2025-09-04 12:49:44 +01:00
2026-07-29 10:44:53 +00:00
2025-09-04 12:49:44 +01:00
2026-06-30 12:44:21 +01:00
2017-12-21 11:39:08 -05:00
2026-03-02 08:31:44 +01:00